2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, python, buildPythonPackage, nose, future, coverage }:
|
2017-02-19 01:18:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyZufall";
|
|
|
|
version = "0.13.2";
|
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-02-19 01:18:32 +00:00
|
|
|
sha256 = "1jffhi20m82fdf78bjhncbdxkfzcskrlipxlrqq9741xdvrn14b5";
|
|
|
|
};
|
|
|
|
|
|
|
|
# disable tests due to problem with nose
|
|
|
|
# https://github.com/nose-devs/nose/issues/1037
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ nose coverage ];
|
2017-02-19 01:18:32 +00:00
|
|
|
propagatedBuildInputs = [ future ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} setup.py nosetests
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://pyzufall.readthedocs.io/de/latest/";
|
2017-02-19 01:18:32 +00:00
|
|
|
description = "Library for generating random data and sentences in german language";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ davidak ];
|
|
|
|
};
|
|
|
|
}
|