enzyme: use fetchPypi

This commit is contained in:
Jörg Thalheim 2017-05-21 14:38:27 +01:00
parent d501166f31
commit 689f0ce372
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -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";
};