anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / typesystem / default.nix
blob41a4b5147fa9a3bbf43b5b7b8d006ac1d2720d4e
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   jinja2,
6   pytestCheckHook,
7   pythonOlder,
8   pyyaml,
9 }:
11 buildPythonPackage rec {
12   pname = "typesystem";
13   version = "0.4.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "encode";
20     repo = pname;
21     rev = version;
22     hash = "sha256-fjnheHWjIDbJY1iXCRKCpqTCwtUWK9YXbynRCZquQ7c=";
23   };
25   propagatedBuildInputs = [
26     jinja2
27     pyyaml
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "typesystem" ];
34   meta = with lib; {
35     description = "Type system library for Python";
36     homepage = "https://github.com/encode/typesystem";
37     license = licenses.bsd3;
38     maintainers = [ ];
39   };