Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / nosejs / default.nix
blob7a63713d2d0961e2b22c5475ec10553d286f57c9
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , nose
5 }:
7 buildPythonPackage rec {
8   pname = "NoseJS";
9   version = "0.9.4";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "0qrhkd3sga56qf6k0sqyhwfcladwi05gl6aqmr0xriiq1sgva5dy";
14   };
16   nativeCheckInputs = [ nose ];
18   checkPhase = ''
19     nosetests -v
20   '';
22   meta = with lib; {
23     homepage = "https://pypi.org/project/NoseJS/";
24     description = "A Nose plugin for integrating JavaScript tests into a Python test suite";
25     license = licenses.free;
26   };