diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-26 21:00:28 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-26 21:00:28 +0100 |
commit | a367095153c446223c64e8ffea6a95b0c91402c0 (patch) | |
tree | fd0174743216c0df9e245e9a14e76f27e145441e /pkgs/development/python-modules/hyperlink | |
parent | d2124e3f93c5e728919bb6e6268b38d0a285cda3 (diff) | |
download | nixlib-a367095153c446223c64e8ffea6a95b0c91402c0.tar nixlib-a367095153c446223c64e8ffea6a95b0c91402c0.tar.gz nixlib-a367095153c446223c64e8ffea6a95b0c91402c0.tar.bz2 nixlib-a367095153c446223c64e8ffea6a95b0c91402c0.tar.lz nixlib-a367095153c446223c64e8ffea6a95b0c91402c0.tar.xz nixlib-a367095153c446223c64e8ffea6a95b0c91402c0.tar.zst nixlib-a367095153c446223c64e8ffea6a95b0c91402c0.zip |
pythonPackages.hyperlink: modernize expression
Diffstat (limited to 'pkgs/development/python-modules/hyperlink')
-rw-r--r-- | pkgs/development/python-modules/hyperlink/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/hyperlink/default.nix b/pkgs/development/python-modules/hyperlink/default.nix index d36db696ef6d..53a245c45dcf 100644 --- a/pkgs/development/python-modules/hyperlink/default.nix +++ b/pkgs/development/python-modules/hyperlink/default.nix @@ -1,12 +1,11 @@ -{ stdenv, buildPythonPackage, fetchurl, idna, pytest }: +{ stdenv, buildPythonPackage, fetchPypi, idna, pytest }: buildPythonPackage rec { pname = "hyperlink"; version = "18.0.0"; - name = pname + "-" + version; - src = fetchurl { - url = "mirror://pypi/h/hyperlink/${name}.tar.gz"; + src = fetchPypi { + inherit pname version; sha256 = "f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306"; }; |