Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sumtypes / default.nix
blob1b6f1c38e6042a463a803343d560aa7d1a8faed7
1 { lib
2 , attrs
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "sumtypes";
11   version = "0.1a6";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "radix";
18     repo = pname;
19     rev = version;
20     hash = "sha256-qwQyFKVnGEqHUqFmUSnHVvedsp2peM6rJZcS90paLOo=";
21   };
23   propagatedBuildInputs = [
24     attrs
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   meta = with lib; {
32     description = "Algebraic data types for Python";
33     homepage = "https://github.com/radix/sumtypes";
34     license = licenses.mit;
35     maintainers = with maintainers; [ NieDzejkob ];
36   };