Skip to content

Commit 883148e

Browse files
committedJun 25, 2017
pip-tools: fix build
1 parent 252e9ec commit 883148e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed
 

‎pkgs/development/python-modules/pip-tools/default.nix

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
{ stdenv, fetchFromGitHub, buildPythonPackage, pip, pytest, click, six, first, glibcLocales }:
1+
{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first, setuptools_scm, glibcLocales }:
22
buildPythonPackage rec {
33
pname = "pip-tools";
44
version = "1.9.0";
55
name = "pip-tools-${version}";
66

7-
src = fetchFromGitHub {
8-
owner = "jazzband";
9-
repo = "pip-tools";
10-
rev = version;
11-
sha256 = "0706feb27263a2dade6d39cc508e718282bd08f455d0643f251659f905be4d56";
7+
src = fetchurl {
8+
url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
9+
sha256 = "0mjdpq2zjn8n4lzn9l2myh4bv0l2f6751k1rdpgdm8k3fargw1h7";
1210
};
1311

1412
LC_ALL = "en_US.UTF-8";
1513
buildInputs = [ pytest glibcLocales ];
16-
propagatedBuildInputs = [ pip click six first ];
14+
propagatedBuildInputs = [ pip click six first setuptools_scm ];
1715

1816
checkPhase = ''
1917
export HOME=$(mktemp -d)

0 commit comments

Comments
 (0)
Please sign in to comment.