Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / yanc / default.nix
blobdfe590390166a07b790fa2d765997959fedbd0cb
1 { lib, buildPythonPackage, pythonOlder, fetchPypi, nose }:
3 buildPythonPackage rec {
4   pname = "yanc";
5   version = "0.3.3";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "0z35bkk9phs40lf5061k1plhjdl5fskm0dmdikrsqi1bjihnxp8w";
10   };
12   # Tests fail on Python>=3.5. See: https://github.com/0compute/yanc/issues/10
13   doCheck = pythonOlder "3.5";
15   nativeCheckInputs = [ nose ];
17   checkPhase = ''
18     nosetests .
19   '';
21   meta = with lib; {
22     description = "Yet another nose colorer";
23     homepage = "https://github.com/0compute/yanc";
24     license = licenses.gpl3;
25     maintainers = with maintainers; [ jluttine ];
26   };