Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / typesystem / default.nix
blob96f351ccaf1f6c7835c584450e8ff0d3e7a26ec9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , jinja2
5 , pytestCheckHook
6 , pythonOlder
7 , pyyaml
8 }:
10 buildPythonPackage rec {
11   pname = "typesystem";
12   version = "0.4.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "encode";
19     repo = pname;
20     rev = version;
21     hash = "sha256-fjnheHWjIDbJY1iXCRKCpqTCwtUWK9YXbynRCZquQ7c=";
22   };
24   propagatedBuildInputs = [
25     jinja2
26     pyyaml
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "typesystem"
35   ];
37   meta = with lib; {
38     description = "A type system library for Python";
39     homepage = "https://github.com/encode/typesystem";
40     license = licenses.bsd3;
41     maintainers =  with maintainers; [ ];
42   };