summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-utils
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-01-22 15:57:35 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-01-22 16:19:52 +0100
commite5f2cf4af1d7fafcb2162da912e8490b63bdd25c (patch)
tree400bed611768656da96310df0cb4ba087283238e /pkgs/development/python-modules/python-utils
parenta9a28e9236ac66ed1867127fa8edc7f544694bf6 (diff)
python.pkgs.python-utils: use fetchPypi
Diffstat (limited to 'pkgs/development/python-modules/python-utils')
-rw-r--r--pkgs/development/python-modules/python-utils/default.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-utils/default.nix b/pkgs/development/python-modules/python-utils/default.nix
index b7744ce79c3b..7e330302de8d 100644
--- a/pkgs/development/python-modules/python-utils/default.nix
+++ b/pkgs/development/python-modules/python-utils/default.nix
@@ -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 ];