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/rhpl | |
parent | dce1c26e5d4bd25d21e1abc3397e02d6def044a8 (diff) |
Python: add pname attributes to libraries
so that we can use the update script.
Diffstat (limited to 'pkgs/development/python-modules/rhpl')
-rw-r--r-- | pkgs/development/python-modules/rhpl/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/rhpl/default.nix b/pkgs/development/python-modules/rhpl/default.nix index 7ba1c79cd0548..d502ad75566c8 100644 --- a/pkgs/development/python-modules/rhpl/default.nix +++ b/pkgs/development/python-modules/rhpl/default.nix @@ -1,16 +1,18 @@ {stdenv, fetchurl, rpmextract, python, wirelesstools, gettext}: -stdenv.mkDerivation { - name = "rhpl-0.218"; - +stdenv.mkDerivation rec { + pname = "rhpl"; + version = "0.218"; + name = "${pname}-${version}"; + src = fetchurl { url = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/releases/10/Everything/source/SRPMS//rhpl-0.218-1.src.rpm; sha256 = "0c3sc74cjzz5dmpr2gi5naxcc5p2qmzagz7k561xj07njn0ddg16"; }; - + inherit python; - + builder = ./builder.sh; - + buildInputs = [ rpmextract python wirelesstools gettext ]; } |