Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / case / default.nix
blob36efc1aab3bc0850449d6972e7d6bbf5982a9cb7
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , nose
5 , pythonOlder
6 , pytestCheckHook
7 , six
8 }:
10 buildPythonPackage rec {
11   pname = "case";
12   version = "1.5.3";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
20   };
22   propagatedBuildInputs = [
23     nose
24     six
25   ];
27   # No real unittests, only coverage
28   doCheck = false;
30   pythonImportsCheck = [
31     "case"
32   ];
34   meta = with lib; {
35     homepage = "https://github.com/celery/case";
36     description = "Utilities for unittests handling";
37     license = licenses.bsd3;
38     maintainers = with maintainers; [ ];
39   };