summary refs log tree commit diff
path: root/pkgs/development/python-modules/hyperlink/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/hyperlink/default.nix')
-rw-r--r--pkgs/development/python-modules/hyperlink/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/hyperlink/default.nix b/pkgs/development/python-modules/hyperlink/default.nix
index ca09c271ddac..b485745cbbb8 100644
--- a/pkgs/development/python-modules/hyperlink/default.nix
+++ b/pkgs/development/python-modules/hyperlink/default.nix
@@ -1,7 +1,9 @@
 { stdenv, buildPythonPackage, fetchurl, pytest }:
+
 buildPythonPackage rec {
-  name = "hyperlink-${version}";
+  pname = "hyperlink";
   version = "17.3.0";
+  name = pname + "-" + version;
 
   src = fetchurl {
     url = "mirror://pypi/h/hyperlink/${name}.tar.gz";