diff --git a/pkgs/development/python-modules/apted/default.nix b/pkgs/development/python-modules/apted/default.nix new file mode 100644 index 0000000000000..ec5dd38ed1104 --- /dev/null +++ b/pkgs/development/python-modules/apted/default.nix @@ -0,0 +1,30 @@ +{ + 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 ]; + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 78a8674d3e1d4..7b4bd069a0b16 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };