mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
python3Packages.timelib: migrate to pyproject (#560553)
This commit is contained in:
@@ -3,23 +3,31 @@
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "timelib";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-0bInBlVxhuYFjaiLoPhYN0AbKuneFX9ZNT3JeNglGHo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
build-system = [
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "timelib" ];
|
||||
|
||||
meta = {
|
||||
description = "Parse english textual date descriptions";
|
||||
homepage = "https://github.com/pediapress/timelib/";
|
||||
license = lib.licenses.zlib;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user