71e415bf85
This reverts commit 568e0bc498
.
This is working on staging-next since there is an updated
pip.
52 lines
874 B
Nix
52 lines
874 B
Nix
{ lib
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, buildPythonPackage
|
|
, pip
|
|
, pytestCheckHook
|
|
, pytest-xdist
|
|
, click
|
|
, setuptools-scm
|
|
, pep517
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pip-tools";
|
|
version = "6.4.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "65553a15b1ba34be5e43889345062e38fb9b219ffa23b084ca0d4c4039b6f53b";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
pytest-xdist
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
pep517
|
|
pip
|
|
];
|
|
|
|
disabledTests = [
|
|
# these want internet access
|
|
"network"
|
|
"test_direct_reference_with_extras"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Keeps your pinned dependencies fresh";
|
|
homepage = "https://github.com/jazzband/pip-tools/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
};
|
|
}
|