13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-nmCP4hp+BsD80OBjerOu+QTBBExGHvn/v19od4V3ncI=";
27 nativeBuildInputs = [ setuptools ];
29 propagatedBuildInputs = [ pip ];
37 pythonImportsCheck = [ "pip_api" ];
41 "test_hash_default_algorithm_is_256"
42 "test_installed_distributions"
44 "test_invoke_uninstall"
49 description = "Importable pip API";
50 homepage = "https://github.com/di/pip-api";
51 changelog = "https://github.com/di/pip-api/blob/${version}/CHANGELOG";
52 license = with licenses; [ mit ];
53 maintainers = with maintainers; [ fab ];