mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
python3Packages.greek-accentuation: migrate to pyproject (#543888)
This commit is contained in:
@@ -2,19 +2,29 @@
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "greek-accentuation";
|
||||
version = "1.2.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "greek-accentuation";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-l2HZXdqlLubvy2bWhhZVYGMpF0DXVKTDFehkcGF5xdk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "greek_accentuation" ];
|
||||
|
||||
meta = {
|
||||
description = "Python 3 library for accenting (and analyzing the accentuation of) Ancient Greek words";
|
||||
homepage = "https://github.com/jtauber/greek-accentuation";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kmein ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user