blob: 5fa03a18aaa2fe2ed380883f8e0c0ab6a837b1b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first, setuptools_scm, glibcLocales }:
buildPythonPackage rec {
pname = "pip-tools";
version = "1.9.0";
name = "pip-tools-${version}";
src = fetchurl {
url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
sha256 = "0mjdpq2zjn8n4lzn9l2myh4bv0l2f6751k1rdpgdm8k3fargw1h7";
};
LC_ALL = "en_US.UTF-8";
buildInputs = [ pytest glibcLocales ];
propagatedBuildInputs = [ pip click six first setuptools_scm ];
checkPhase = ''
export HOME=$(mktemp -d)
py.test -k "not test_realistic_complex_sub_dependencies" # requires network
'';
meta = with stdenv.lib; {
description = "Keeps your pinned dependencies fresh";
homepage = https://github.com/jazzband/pip-tools/;
license = licenses.bsd3;
maintainers = with maintainers; [ zimbatm ];
};
}
|