diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-06-28 23:15:15 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-07-02 02:53:47 +0200 |
commit | 424242721cc1ca72a5ad1fde9956e404a36a21db (patch) | |
tree | 12e7985a4b0c9bcbce5a3b47ff07db2bafb501f4 /pkgs/development/python-modules/nose3 | |
parent | 7f8a16b9f54c272bea8af6ba66b4c80e8a6e4afe (diff) |
python3Packages.nose3: init at 1.3.8
Diffstat (limited to 'pkgs/development/python-modules/nose3')
-rw-r--r-- | pkgs/development/python-modules/nose3/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nose3/default.nix b/pkgs/development/python-modules/nose3/default.nix new file mode 100644 index 0000000000000..8af1be25d0a71 --- /dev/null +++ b/pkgs/development/python-modules/nose3/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, coverage +, fetchPypi +, isPyPy +, python +, stdenv +}: + +buildPythonPackage rec { + pname = "nose3"; + version = "1.3.8"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-diquIsrbiYsAudT0u7n46H+ODd5sSaiM0MVU9OWSW3Y="; + }; + + propagatedBuildInputs = [ coverage ]; + + # PyPy hangs for unknwon reason + # darwin fails an assertion and I didn't find a way to find skip that test + doCheck = !isPyPy && !stdenv.isDarwin; + + checkPhase = '' + ${python.pythonForBuild.interpreter} selftest.py + ''; + + meta = with lib; { + description = "Fork of nose v1 not using lib2to3 for compatibility with Python 3"; + homepage = "https://github.com/jayvdb/nose3"; + license = licenses.lgpl3; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} |