python310Packages.calmjs: init at 3.4.4
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, calmjs-types
|
||||
, calmjs-parse
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "calmjs";
|
||||
version = "3.4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "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";
|
||||
homepage = "https://github.com/calmjs/calmjs";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
};
|
||||
}
|
||||
@@ -1637,6 +1637,8 @@ self: super: with self; {
|
||||
|
||||
callee = callPackage ../development/python-modules/callee { };
|
||||
|
||||
calmjs = callPackage ../development/python-modules/calmjs { };
|
||||
|
||||
calmjs-parse = callPackage ../development/python-modules/calmjs-parse { };
|
||||
|
||||
calysto = callPackage ../development/python-modules/calysto { };
|
||||
|
||||
Reference in New Issue
Block a user