summary refs log tree commit diff
path: root/pkgs/development/python-modules/sip/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sip/default.nix')
-rw-r--r--pkgs/development/python-modules/sip/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix
index 77857df0764..0503e2ef04f 100644
--- a/pkgs/development/python-modules/sip/default.nix
+++ b/pkgs/development/python-modules/sip/default.nix
@@ -3,11 +3,10 @@
 if isPyPy then throw "sip not supported for interpreter ${python.executable}" else buildPythonPackage rec {
   pname = "sip";
   version = "4.19.6";
-  name = "${pname}-${version}";
   format = "other";
 
   src = fetchurl {
-    url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";
+    url = "mirror://sourceforge/pyqt/sip/${pname}-${version}/${pname}-${version}.tar.gz";
     sha256 = "0nlj0zbvmzliyhhspqwf2bjvcnpq4agx4s47php7ishv32p2gnlx";
   };