python3Packages.setupmeta: init at 3.3.0

This commit is contained in:
Fabian Affolter 2021-11-22 00:20:38 +01:00
parent d06436f798
commit 44bd0265ba
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, git
, mock
, pep440
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "setupmeta";
version = "3.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "codrsquad";
repo = pname;
rev = "v${version}";
sha256 = "21hABRiY8CTKkpFjePgBAtjs4/G5eFS3aPNMCBC41CY=";
};
checkInputs = [
git
mock
pep440
pytestCheckHook
setuptools-scm
];
disabledTests = [
# Tests want to scan site-packages
"test_check_dependencies"
"test_scenario"
"test_git_versioning"
];
pythonImportsCheck = [
"setupmeta"
];
meta = with lib; {
description = "Python module to simplify setup.py files";
homepage = "https://github.com/codrsquad/setupmeta";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -8509,6 +8509,8 @@ in {
setproctitle = callPackage ../development/python-modules/setproctitle { };
setupmeta = callPackage ../development/python-modules/setupmeta { };
setuptools-declarative-requirements = callPackage ../development/python-modules/setuptools-declarative-requirements { };
setuptools-git = callPackage ../development/python-modules/setuptools-git { };