about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyzufall/default.nix
blob: 71418c1607d025157e42cc121ab4cae0fd450eaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, fetchPypi, python, buildPythonPackage, nose, future, coverage }:

buildPythonPackage rec {
  pname = "pyzufall";
  version = "0.13.2";

  src = fetchPypi {
    pname = "PyZufall";
    inherit version;
    sha256 = "1jffhi20m82fdf78bjhncbdxkfzcskrlipxlrqq9741xdvrn14b5";
  };

  # disable tests due to problem with nose
  # https://github.com/nose-devs/nose/issues/1037
  doCheck = false;

  nativeCheckInputs = [ nose coverage ];
  propagatedBuildInputs = [ future ];

  checkPhase = ''
    ${python.interpreter} setup.py nosetests
  '';

  meta = with lib; {
    homepage = "https://pyzufall.readthedocs.io/de/latest/";
    description = "Library for generating random data and sentences in german language";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ davidak ];
  };
}