mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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 {
|
||||
pname = "python-utils";
|
||||
version = "2.3.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WoLpH";
|
||||
repo = "python-utils";
|
||||
rev = "v${version}";
|
||||
sha256 = "14gyphcqwa77wfbnrzj363v3fdkxy08378lgd7l3jqnpvr8pfp5c";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "34aaf26b39b0b86628008f2ae0ac001b30e7986a8d303b61e1357dfcdad4f6d3";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov pytestflakes pytestpep8 sphinx ];
|
||||
|
Loading…
Reference in New Issue
Block a user