mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
enzyme: use fetchPypi
This commit is contained in:
parent
d501166f31
commit
689f0ce372
@ -1,14 +1,15 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage }:
|
||||
{ stdenv, fetchPypi, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "enzyme-${version}";
|
||||
name = "${pname}-${version}";
|
||||
pname = "enzyme";
|
||||
version = "0.4.1";
|
||||
|
||||
# Tests rely on files obtained over the network
|
||||
doCheck = false;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/e/enzyme/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1fv2kh2v4lwj0hhrhj9pib1pdjh01yr4xgyljhx11l94gjlpy5pj";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user