evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / calmjs / default.nix
blobee3affa9c1bdb6d743f18f4788af3bc2c5d90828
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   calmjs-types,
6   calmjs-parse,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "calmjs";
12   version = "3.4.4";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-73NQiY1RMdBrMIlm/VTvHY4dCHL1pQoj6a48CWRos3o=";
18     extension = "zip";
19   };
21   propagatedBuildInputs = [
22     calmjs-parse
23     calmjs-types
24   ];
26   checkInputs = [ pytestCheckHook ];
28   # ModuleNotFoundError: No module named 'calmjs.types'
29   # Not yet clear how to run these tests correctly
30   # https://github.com/calmjs/calmjs/issues/63
31   # https://github.com/NixOS/nixpkgs/pull/186298
32   disabledTestPaths = [
33     "src/calmjs/tests/test_dist.py"
34     "src/calmjs/tests/test_testing.py"
35     "src/calmjs/tests/test_artifact.py"
36     "src/calmjs/tests/test_interrogate.py"
37     "src/calmjs/tests/test_loaderplugin.py"
38     "src/calmjs/tests/test_npm.py"
39     "src/calmjs/tests/test_runtime.py"
40     "src/calmjs/tests/test_toolchain.py"
41     "src/calmjs/tests/test_vlqsm.py"
42     "src/calmjs/tests/test_yarn.py"
43     "src/calmjs/tests/test_command.py"
44   ];
46   pythonImportsCheck = [ "calmjs" ];
48   meta = with lib; {
49     description = "Framework for building toolchains and utilities for working with the Node.js ecosystem";
50     mainProgram = "calmjs";
51     homepage = "https://github.com/calmjs/calmjs";
52     license = licenses.gpl2;
53     maintainers = with maintainers; [ onny ];
54   };