nixpkgs-suyu/pkgs/development/python-modules/pyzufall/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

30 lines
876 B
Nix

{ stdenv, fetchurl, python, buildPythonPackage, nose, future, coverage }:
buildPythonPackage rec {
pname = "PyZufall";
version = "0.13.2";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "1jffhi20m82fdf78bjhncbdxkfzcskrlipxlrqq9741xdvrn14b5";
};
# disable tests due to problem with nose
# https://github.com/nose-devs/nose/issues/1037
doCheck = false;
buildInputs = [ nose coverage ];
propagatedBuildInputs = [ future ];
checkPhase = ''
${python.interpreter} setup.py nosetests
'';
meta = with stdenv.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 ];
};
}