croc: 10.1.1 -> 10.1.3 (#364662)
[NixPkgs.git] / pkgs / development / python-modules / sumtypes / default.nix
blob91ae86b01206c01075885faf82000936c176434c
2   lib,
3   attrs,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "sumtypes";
12   version = "0.1a6";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "radix";
19     repo = pname;
20     rev = version;
21     hash = "sha256-qwQyFKVnGEqHUqFmUSnHVvedsp2peM6rJZcS90paLOo=";
22   };
24   propagatedBuildInputs = [ attrs ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   meta = with lib; {
29     description = "Algebraic data types for Python";
30     homepage = "https://github.com/radix/sumtypes";
31     license = licenses.mit;
32     maintainers = with maintainers; [ NieDzejkob ];
33   };