python3Packages.pyproject-hooks: init at 1.0.0
This commit is contained in:
parent
4ce2a8eb26
commit
7ecacc518f
57
pkgs/development/python-modules/pyproject-hooks/default.nix
Normal file
57
pkgs/development/python-modules/pyproject-hooks/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flit-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, testpath
|
||||
, tomli
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyproject-hooks";
|
||||
version = "1.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi rec {
|
||||
pname = "pyproject_hooks";
|
||||
inherit version;
|
||||
hash = "sha256-8nGymLl/WVXVP7ErcsH7GUjCLBprcLMVxUztrKAmTvU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
tomli
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
setuptools
|
||||
testpath
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# fail to import setuptools
|
||||
"test_setup_py"
|
||||
"test_issue_104"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyproject_hooks"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Low-level library for calling build-backends in `pyproject.toml`-based project ";
|
||||
homepage = "https://github.com/pypa/pyproject-hooks";
|
||||
changelog = "https://github.com/pypa/pyproject-hooks/blob/v${version}/docs/changelog.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -6967,6 +6967,8 @@ self: super: with self; {
|
|||
|
||||
pyproject-api = callPackage ../development/python-modules/pyproject-api { };
|
||||
|
||||
pyproject-hooks = callPackage ../development/python-modules/pyproject-hooks { };
|
||||
|
||||
pypsrp = callPackage ../development/python-modules/pypsrp { };
|
||||
|
||||
phpserialize = callPackage ../development/python-modules/phpserialize { };
|
||||
|
|
Loading…
Reference in a new issue