diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 11:25:35 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 11:30:21 +0200 |
commit | 959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c (patch) | |
tree | 60c0df9d9c5e876fe757c28bf11bd18762ce4180 /pkgs/development/python-modules/sip | |
parent | dce1c26e5d4bd25d21e1abc3397e02d6def044a8 (diff) | |
download | nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.gz nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.bz2 nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.lz nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.xz nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.zst nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.zip |
Python: add pname attributes to libraries
so that we can use the update script.
Diffstat (limited to 'pkgs/development/python-modules/sip')
-rw-r--r-- | pkgs/development/python-modules/sip/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix index 76652954cf08..b6094f37c3a5 100644 --- a/pkgs/development/python-modules/sip/default.nix +++ b/pkgs/development/python-modules/sip/default.nix @@ -1,7 +1,9 @@ { lib, fetchurl, buildPythonPackage, python, isPyPy }: if isPyPy then throw "sip not supported for interpreter ${python.executable}" else buildPythonPackage rec { - name = "sip-4.19.1"; + pname = "sip"; + version = "4.19.1"; + name = "${pname}-${version}"; format = "other"; src = fetchurl { |