python.pkgs.python-utils: use fetchPypi
This commit is contained in:
parent
a9a28e9236
commit
e5f2cf4af1
@ -1,15 +1,12 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest, pytestrunner, pytestcov, pytestflakes, pytestpep8, sphinx, six }:
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytestflakes, pytestpep8, sphinx, six }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-utils";
|
pname = "python-utils";
|
||||||
version = "2.3.0";
|
version = "2.3.0";
|
||||||
name = pname + "-" + version;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchPypi {
|
||||||
owner = "WoLpH";
|
inherit pname version;
|
||||||
repo = "python-utils";
|
sha256 = "34aaf26b39b0b86628008f2ae0ac001b30e7986a8d303b61e1357dfcdad4f6d3";
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "14gyphcqwa77wfbnrzj363v3fdkxy08378lgd7l3jqnpvr8pfp5c";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pytestrunner pytestcov pytestflakes pytestpep8 sphinx ];
|
checkInputs = [ pytest pytestrunner pytestcov pytestflakes pytestpep8 sphinx ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user