81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
51 lines
861 B
Nix
51 lines
861 B
Nix
{ lib
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, buildPythonPackage
|
|
, pip
|
|
, pytestCheckHook
|
|
, pytest-xdist
|
|
, click
|
|
, setuptools-scm
|
|
, pep517
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pip-tools";
|
|
version = "6.5.1";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-gPViqmmfx2pCRTlpfgvvQeSQoFDlemohRoUxmBqdQZ4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|