Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyzufall / default.nix
blobe0434e8e4dd47901091e19010ad0d27c4652bc31
1 { lib, fetchPypi, python, buildPythonPackage, nose, future, coverage }:
3 buildPythonPackage rec {
4   pname = "PyZufall";
5   version = "0.13.2";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "1jffhi20m82fdf78bjhncbdxkfzcskrlipxlrqq9741xdvrn14b5";
10   };
12   # disable tests due to problem with nose
13   # https://github.com/nose-devs/nose/issues/1037
14   doCheck = false;
16   checkInputs = [ nose coverage ];
17   propagatedBuildInputs = [ future ];
19   checkPhase = ''
20     ${python.interpreter} setup.py nosetests
21   '';
23   meta = with lib; {
24     homepage = "https://pyzufall.readthedocs.io/de/latest/";
25     description = "Library for generating random data and sentences in german language";
26     license = licenses.gpl3Plus;
27     maintainers = with maintainers; [ davidak ];
28   };