summary refs log tree commit diff
path: root/pkgs/development/python-modules/nosejs/default.nix
blob: 9d30855c68e12b7d4374ae46fb17bf9ab58cc703 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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;
  };

}