1{ lib, fetchPypi, python, buildPythonPackage, nose, future, coverage }:
2
3buildPythonPackage rec {
4 pname = "PyZufall";
5 version = "0.13.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1jffhi20m82fdf78bjhncbdxkfzcskrlipxlrqq9741xdvrn14b5";
10 };
11
12 # disable tests due to problem with nose
13 # https://github.com/nose-devs/nose/issues/1037
14 doCheck = false;
15
16 nativeCheckInputs = [ nose coverage ];
17 propagatedBuildInputs = [ future ];
18
19 checkPhase = ''
20 ${python.interpreter} setup.py nosetests
21 '';
22
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 };
29}