1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 01:41:05 +03:00

Python: add pname attributes to libraries

so that we can use the update script.
This commit is contained in:
Frederik Rietdijk 2017-05-27 11:25:35 +02:00
parent dce1c26e5d
commit 959842a9c7
95 changed files with 265 additions and 152 deletions

View file

@ -1,8 +1,9 @@
{ lib, fetchurl, buildPythonPackage, isPy3k }:
buildPythonPackage rec {
name = "python-stdnum-${version}";
version = "1.5";
pname = "python-stdnum";
name = "${pname}-${version}";
# Failing tests and dependency issue on Py3k
disabled = isPy3k;
src = fetchurl {