blob: 8a46d405799bbd630082059d8e8371c033c2cc32 (
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
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, hypothesis, mypy }:
buildPythonPackage rec {
pname = "algebraic-data-types";
version = "0.1.1";
src = fetchFromGitHub {
owner = "jspahrsummers";
repo = "adt";
rev = "v" + version;
sha256 = "1py94jsgh6wch59n9dxnwvk74psbpa1679zfmripa1qfc2218kqi";
};
disabled = pythonOlder "3.6";
checkInputs = [
hypothesis
mypy
];
meta = with lib; {
description = "Algebraic data types for Python";
homepage = "https://github.com/jspahrsummers/adt";
license = licenses.mit;
maintainers = with maintainers; [ uri-canva ];
platforms = platforms.unix;
};
}
|