nixpkgs/pkgs/development/python-modules/pyzufall/default.nix

30 lines
790 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, python, buildPythonPackage, nose, future, coverage }:
2017-02-19 02:18:32 +01:00
buildPythonPackage rec {
pname = "PyZufall";
version = "0.13.2";
src = fetchPypi {
inherit pname version;
2017-02-19 02:18:32 +01:00
sha256 = "1jffhi20m82fdf78bjhncbdxkfzcskrlipxlrqq9741xdvrn14b5";
};
# disable tests due to problem with nose
# https://github.com/nose-devs/nose/issues/1037
doCheck = false;
checkInputs = [ nose coverage ];
2017-02-19 02:18:32 +01:00
propagatedBuildInputs = [ future ];
checkPhase = ''
${python.interpreter} setup.py nosetests
'';
meta = with stdenv.lib; {
homepage = https://pyzufall.readthedocs.io/de/latest/;
2017-02-19 02:18:32 +01:00
description = "Library for generating random data and sentences in german language";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ davidak ];
};
}