blob: ee3affa9c1bdb6d743f18f4788af3bc2c5d90828 (
plain) (
blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
fetchPypi,
buildPythonPackage,
calmjs-types,
calmjs-parse,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "calmjs";
version = "3.4.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-73NQiY1RMdBrMIlm/VTvHY4dCHL1pQoj6a48CWRos3o=";
extension = "zip";
};
propagatedBuildInputs = [
calmjs-parse
calmjs-types
];
checkInputs = [ pytestCheckHook ];
# ModuleNotFoundError: No module named 'calmjs.types'
# Not yet clear how to run these tests correctly
# https://github.com/calmjs/calmjs/issues/63
# https://github.com/NixOS/nixpkgs/pull/186298
disabledTestPaths = [
"src/calmjs/tests/test_dist.py"
"src/calmjs/tests/test_testing.py"
"src/calmjs/tests/test_artifact.py"
"src/calmjs/tests/test_interrogate.py"
"src/calmjs/tests/test_loaderplugin.py"
"src/calmjs/tests/test_npm.py"
"src/calmjs/tests/test_runtime.py"
"src/calmjs/tests/test_toolchain.py"
"src/calmjs/tests/test_vlqsm.py"
"src/calmjs/tests/test_yarn.py"
"src/calmjs/tests/test_command.py"
];
pythonImportsCheck = [ "calmjs" ];
meta = with lib; {
description = "Framework for building toolchains and utilities for working with the Node.js ecosystem";
mainProgram = "calmjs";
homepage = "https://github.com/calmjs/calmjs";
license = licenses.gpl2;
maintainers = with maintainers; [ onny ];
};
}
|