tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.calmjs: init at 3.4.4
Jonas Heinrich
2 years ago
6a2abb1e
43b5e147
+56
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
calmjs
default.nix
top-level
python-packages.nix
+54
pkgs/development/python-modules/calmjs/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, fetchPypi
3
3
+
, buildPythonPackage
4
4
+
, calmjs-types
5
5
+
, calmjs-parse
6
6
+
, pytestCheckHook
7
7
+
}:
8
8
+
9
9
+
buildPythonPackage rec {
10
10
+
pname = "calmjs";
11
11
+
version = "3.4.4";
12
12
+
13
13
+
src = fetchPypi {
14
14
+
inherit pname version;
15
15
+
sha256 = "sha256-73NQiY1RMdBrMIlm/VTvHY4dCHL1pQoj6a48CWRos3o=";
16
16
+
extension = "zip";
17
17
+
};
18
18
+
19
19
+
propagatedBuildInputs = [
20
20
+
calmjs-parse
21
21
+
calmjs-types
22
22
+
];
23
23
+
24
24
+
checkInputs = [
25
25
+
pytestCheckHook
26
26
+
];
27
27
+
28
28
+
# ModuleNotFoundError: No module named 'calmjs.types'
29
29
+
# Not yet clear how to run these tests correctly
30
30
+
# https://github.com/calmjs/calmjs/issues/63
31
31
+
# https://github.com/NixOS/nixpkgs/pull/186298
32
32
+
disabledTestPaths = [
33
33
+
"src/calmjs/tests/test_dist.py"
34
34
+
"src/calmjs/tests/test_testing.py"
35
35
+
"src/calmjs/tests/test_artifact.py"
36
36
+
"src/calmjs/tests/test_interrogate.py"
37
37
+
"src/calmjs/tests/test_loaderplugin.py"
38
38
+
"src/calmjs/tests/test_npm.py"
39
39
+
"src/calmjs/tests/test_runtime.py"
40
40
+
"src/calmjs/tests/test_toolchain.py"
41
41
+
"src/calmjs/tests/test_vlqsm.py"
42
42
+
"src/calmjs/tests/test_yarn.py"
43
43
+
"src/calmjs/tests/test_command.py"
44
44
+
];
45
45
+
46
46
+
pythonImportsCheck = [ "calmjs" ];
47
47
+
48
48
+
meta = with lib; {
49
49
+
description = "Framework for building toolchains and utilities for working with the Node.js ecosystem";
50
50
+
homepage = "https://github.com/calmjs/calmjs";
51
51
+
license = licenses.gpl2;
52
52
+
maintainers = with maintainers; [ onny ];
53
53
+
};
54
54
+
}
+2
pkgs/top-level/python-packages.nix
reviewed
···
1637
1637
1638
1638
callee = callPackage ../development/python-modules/callee { };
1639
1639
1640
1640
+
calmjs = callPackage ../development/python-modules/calmjs { };
1641
1641
+
1640
1642
calmjs-parse = callPackage ../development/python-modules/calmjs-parse { };
1641
1643
1642
1644
calysto = callPackage ../development/python-modules/calysto { };