mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
pythonPackages.hyperlink: modernize expression
This commit is contained in:
parent
d2124e3f93
commit
a367095153
@ -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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user