summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/apted/default.nix
blob: a13231d23f0af632ca9fdabd49e8cd169ac08729 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  unittestCheckHook,
}:

buildPythonPackage {
  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 ];
  };
}