ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
28 lines
510 B
Nix
28 lines
510 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "NoseJS";
|
|
version = "0.9.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0qrhkd3sga56qf6k0sqyhwfcladwi05gl6aqmr0xriiq1sgva5dy";
|
|
};
|
|
|
|
checkInputs = [ 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;
|
|
};
|
|
|
|
}
|