2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-17 06:29:05 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "NoseJS";
|
|
|
|
version = "0.9.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0qrhkd3sga56qf6k0sqyhwfcladwi05gl6aqmr0xriiq1sgva5dy";
|
|
|
|
};
|
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
checkInputs = [ nose ];
|
2018-10-17 06:29:05 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests -v
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.org/project/NoseJS/";
|
2018-10-17 06:29:05 +01:00
|
|
|
description = "A Nose plugin for integrating JavaScript tests into a Python test suite";
|
|
|
|
license = licenses.free;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|