tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.logical-unification: init at 0.4.5
Etienne JEAN
4 years ago
79846857
be5974a4
+50
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
logical-unification
default.nix
top-level
python-packages.nix
+48
pkgs/development/python-modules/logical-unification/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, toolz
5
5
+
, multipledispatch
6
6
+
, pytestCheckHook
7
7
+
, pytest-html
8
8
+
, pytest-benchmark
9
9
+
}:
10
10
+
11
11
+
buildPythonPackage rec {
12
12
+
pname = "logical-unification";
13
13
+
version = "0.4.5";
14
14
+
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "pythological";
17
17
+
repo = "unification";
18
18
+
rev = "707cf4a39e27a4a8bf06b7e7dce7223085574e65";
19
19
+
sha256 = "sha256-3wqO0pWWFRQeoGNvbSDdLNYFyjNnv+O++F7+vTBUJoI=";
20
20
+
};
21
21
+
22
22
+
propagatedBuildInputs = [
23
23
+
toolz
24
24
+
multipledispatch
25
25
+
];
26
26
+
27
27
+
checkInputs = [
28
28
+
pytestCheckHook
29
29
+
pytest-html
30
30
+
pytest-benchmark # Needed for the `--benchmark-skip` flag
31
31
+
];
32
32
+
33
33
+
pytestFlagsArray = [
34
34
+
"--benchmark-skip"
35
35
+
"--html=testing-report.html"
36
36
+
"--self-contained-html"
37
37
+
];
38
38
+
39
39
+
pythonImportsCheck = [ "unification" ];
40
40
+
41
41
+
meta = with lib; {
42
42
+
description = "Straightforward unification in Python that's extensible via generic functions";
43
43
+
homepage = "https://github.com/pythological/unification";
44
44
+
changelog = "https://github.com/pythological/unification/releases";
45
45
+
license = licenses.bsd3;
46
46
+
maintainers = with maintainers; [ Etjean ];
47
47
+
};
48
48
+
}
+2
pkgs/top-level/python-packages.nix
reviewed
···
4759
4759
4760
4760
logfury = callPackage ../development/python-modules/logfury { };
4761
4761
4762
4762
+
logical-unification = callPackage ../development/python-modules/logical-unification { };
4763
4763
+
4762
4764
logilab_astng = callPackage ../development/python-modules/logilab_astng { };
4763
4765
4764
4766
logilab_common = callPackage ../development/python-modules/logilab/common.nix { };