blob: 4063ac9c01282c7a6ba590ad153ad6360f0bc0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
lib,
attrs,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "sumtypes";
version = "0.1a6";
format = "setuptools";
src = fetchFromGitHub {
owner = "radix";
repo = "sumtypes";
rev = version;
hash = "sha256-qwQyFKVnGEqHUqFmUSnHVvedsp2peM6rJZcS90paLOo=";
};
propagatedBuildInputs = [ attrs ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Algebraic data types for Python";
homepage = "https://github.com/radix/sumtypes";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ NieDzejkob ];
};
}
|