Unverified Commit ae71e676 authored by Nguyễn Gia Phong's avatar Nguyễn Gia Phong
Browse files

python3Packages.apted: init at 1.0.3

parent 634fd468
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };