mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
29 lines
518 B
Nix
29 lines
518 B
Nix
{ stdenv
|
|
, 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 stdenv.lib; {
|
|
homepage = https://pypi.org/project/NoseJS/;
|
|
description = "A Nose plugin for integrating JavaScript tests into a Python test suite";
|
|
license = licenses.free;
|
|
};
|
|
|
|
}
|