ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
51 lines
874 B
Nix
51 lines
874 B
Nix
{ lib
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, buildPythonPackage
|
|
, pip
|
|
, pytestCheckHook
|
|
, pytest-xdist
|
|
, click
|
|
, setuptools-scm
|
|
, pep517
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pip-tools";
|
|
version = "6.3.1";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "992d968df6f1a19d4d37c53b68b3d4b601b894fb3ee0926d1fa762ebc7c7e9e9";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|