python3Packages.pip-api: init at 0.0.28
This commit is contained in:
parent
de6f14d3d8
commit
b897629a2c
2 changed files with 54 additions and 0 deletions
52
pkgs/development/python-modules/pip-api/default.nix
Normal file
52
pkgs/development/python-modules/pip-api/default.nix
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pip
|
||||||
|
, pretend
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, virtualenv
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pip-api";
|
||||||
|
version = "0.0.28";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-yqu2l/QKLPpnJkBae5DI/ReU7DnqOD+lMTs/8O6I8AE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pip
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pretend
|
||||||
|
pytestCheckHook
|
||||||
|
virtualenv
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pip_api"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
"test_hash"
|
||||||
|
"test_hash_default_algorithm_is_256"
|
||||||
|
"test_installed_distributions"
|
||||||
|
"test_invoke_install"
|
||||||
|
"test_invoke_uninstall"
|
||||||
|
"test_isolation"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Importable pip API";
|
||||||
|
homepage = "https://github.com/di/pip-api";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6313,6 +6313,8 @@ in {
|
||||||
|
|
||||||
pipenv-poetry-migrate = callPackage ../development/python-modules/pipenv-poetry-migrate { };
|
pipenv-poetry-migrate = callPackage ../development/python-modules/pipenv-poetry-migrate { };
|
||||||
|
|
||||||
|
pip-api = callPackage ../development/python-modules/pip-api { };
|
||||||
|
|
||||||
pip-tools = callPackage ../development/python-modules/pip-tools { };
|
pip-tools = callPackage ../development/python-modules/pip-tools { };
|
||||||
|
|
||||||
pipx = callPackage ../development/python-modules/pipx { };
|
pipx = callPackage ../development/python-modules/pipx { };
|
||||||
|
|
Loading…
Reference in a new issue