about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/nosejs/default.nix
blob: 7a63713d2d0961e2b22c5475ec10553d286f57c9 (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
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:

buildPythonPackage rec {
  pname = "NoseJS";
  version = "0.9.4";

  src = fetchPypi {
    inherit pname 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;
  };

}