about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gflags
diff options
context:
space:
mode:
authoradisbladis <adis@blad.is>2017-11-09 19:26:09 +0800
committerFrederik Rietdijk <fridh@fridh.nl>2017-11-23 17:49:43 +0100
commitd99378654f97e7f62393514b36886c0b14d04e99 (patch)
tree49929a7437e9e7aaaa663e5511a5010881eef540 /pkgs/development/python-modules/gflags
parent4ae5f314037867369c2b0e38a7587d2db393268f (diff)
downloadnixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.gz
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.bz2
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.lz
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.xz
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.zst
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.zip
pythonPackages: Add version and pname attributes to packages
Diffstat (limited to 'pkgs/development/python-modules/gflags')
-rw-r--r--pkgs/development/python-modules/gflags/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/gflags/default.nix b/pkgs/development/python-modules/gflags/default.nix
index f73ff2b4686d..6fe4b7fcab87 100644
--- a/pkgs/development/python-modules/gflags/default.nix
+++ b/pkgs/development/python-modules/gflags/default.nix
@@ -2,7 +2,8 @@
 
 buildPythonPackage rec {
   version = "3.1.2";
-  name = "gflags-${version}";
+  pname = "gflags";
+  name = pname + "-" + version;
 
   src = fetchPypi {
     inherit version;