11 # coupled downsteam dependencies
15 buildPythonPackage rec {
20 src = fetchFromGitHub {
24 sha256 = "sha256-SLjmxFUFmvgy8E8kxfc6lxxCRo+GN4L77pqkWkRR8aE=";
25 name = "${pname}-${version}-source";
28 nativeBuildInputs = [ bootstrapped-pip ];
30 # pip detects that we already have bootstrapped_pip "installed", so we need
31 # to force it a little.
32 pipInstallFlags = [ "--ignore-installed" ];
34 checkInputs = [ mock scripttest virtualenv pretend pytest ];
35 # Pip wants pytest, but tests are not distributed
38 passthru.tests = { inherit pip-tools; };
41 description = "The PyPA recommended tool for installing Python packages";
42 license = with lib.licenses; [ mit ];
43 homepage = "https://pip.pypa.io/";