about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-stdnum
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-stdnum')
-rw-r--r--pkgs/development/python-modules/python-stdnum/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix
index fe85b7bb0d34..8c5732049c7b 100644
--- a/pkgs/development/python-modules/python-stdnum/default.nix
+++ b/pkgs/development/python-modules/python-stdnum/default.nix
@@ -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 {