1{ lib
2, fetchPypi
3, pythonOlder
4, buildPythonPackage
5, pip
6, pytestCheckHook
7, pytest-xdist
8, click
9, setuptools-scm
10, pep517
11}:
12
13buildPythonPackage rec {
14 pname = "pip-tools";
15 version = "6.3.1";
16
17 disabled = pythonOlder "3.6";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "992d968df6f1a19d4d37c53b68b3d4b601b894fb3ee0926d1fa762ebc7c7e9e9";
22 };
23
24 checkInputs = [
25 pytestCheckHook
26 pytest-xdist
27 ];
28
29 nativeBuildInputs = [
30 setuptools-scm
31 ];
32
33 propagatedBuildInputs = [
34 click
35 pep517
36 pip
37 ];
38
39 disabledTests = [
40 # these want internet access
41 "network"
42 "test_direct_reference_with_extras"
43 ];
44
45 meta = with lib; {
46 description = "Keeps your pinned dependencies fresh";
47 homepage = "https://github.com/jazzband/pip-tools/";
48 license = licenses.bsd3;
49 maintainers = with maintainers; [ zimbatm ];
50 };
51}