depot/third_party/nixpkgs/pkgs/development/python-modules/nosejs/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

29 lines
532 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "nosejs";
version = "0.9.4";
src = fetchPypi {
pname = "NoseJS";
inherit version;
sha256 = "0qrhkd3sga56qf6k0sqyhwfcladwi05gl6aqmr0xriiq1sgva5dy";
};
nativeCheckInputs = [ nose ];
checkPhase = ''
nosetests -v
'';
meta = with lib; {
homepage = "https://pypi.org/project/NoseJS/";
description = "A Nose plugin for integrating JavaScript tests into a Python test suite";
license = licenses.free;
};
}