mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
python3Packages.unicodedata2: modernize and migrate to pyproject
This commit is contained in:
@@ -3,18 +3,21 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "unicodedata2";
|
||||
version = "17.0.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
inherit (finalAttrs) version pname;
|
||||
sha256 = "sha256-15lD0VP19r++P1Wl7GEZhRhL2jf87bPsx1Mi2CrmrTs=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "unicodedata2" ];
|
||||
@@ -22,8 +25,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Backport and updates for the unicodedata module";
|
||||
homepage = "https://github.com/mikekap/unicodedata2";
|
||||
changelog = "https://github.com/fonttools/unicodedata2/releases/tag/${version}";
|
||||
changelog = "https://github.com/fonttools/unicodedata2/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user