python3Packages.apted: init at 1.0.3

Co-authored-by: Arne Keller <arne.keller@posteo.de>
This commit is contained in:
Nguyễn Gia Phong
2024-12-30 12:07:37 +09:00
co-authored by Arne Keller
parent 634fd46801
commit ae71e676ab
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,31 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "apted";
version = "1.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "JoaoFelipe";
repo = "apted";
rev = "828b3e3f4c053f7d35f0b55b0d5597e8041719ac";
hash = "sha256-h8vJDC5TPpyhDxm1sHiXPegPB2eorEgyrNqzQOzSge8=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "apted" ];
nativeCheckInputs = [ unittestCheckHook ];
meta = {
description = "APTED algorithm for the Tree Edit Distance";
homepage = "https://github.com/JoaoFelipe/apted";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.McSinyx ];
};
}
+2
View File
@@ -744,6 +744,8 @@ self: super: with self; {
apt-repo = callPackage ../development/python-modules/apt-repo { };
apted = callPackage ../development/python-modules/apted { };
apycula = callPackage ../development/python-modules/apycula { };
aqipy-atmotech = callPackage ../development/python-modules/aqipy-atmotech { };