mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
python311Packages.zope-dottedname: refactor
This commit is contained in:
parent
c05b1ac925
commit
f5cfec68e8
@ -1,11 +1,14 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope-dottedname";
|
||||
version = "5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "zope.dottedname";
|
||||
@ -13,11 +16,31 @@ buildPythonPackage rec {
|
||||
hash = "sha256-mfWDqAKFhqtMIXlGE+QR0BDNCZF/RdqXa9/udI87++w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"src/zope/dottedname/tests.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zope.dottedname"
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"zope"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://pypi.python.org/pypi/zope.dottedname";
|
||||
homepage = "https://github.com/zopefoundation/zope.dottedname";
|
||||
description = "Resolver for Python dotted names";
|
||||
license = licenses.zpl20;
|
||||
changelog = "https://github.com/zopefoundation/zope.dottedname/blob/${version}/CHANGES.rst";
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user