Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / algebraic-data-types / default.nix
blob8a46d405799bbd630082059d8e8371c033c2cc32
1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder, hypothesis, mypy }:
3 buildPythonPackage rec {
4   pname = "algebraic-data-types";
5   version = "0.1.1";
7   src = fetchFromGitHub {
8     owner = "jspahrsummers";
9     repo = "adt";
10     rev = "v" + version;
11     sha256 = "1py94jsgh6wch59n9dxnwvk74psbpa1679zfmripa1qfc2218kqi";
12   };
14   disabled = pythonOlder "3.6";
16   checkInputs = [
17     hypothesis
18     mypy
19   ];
21   meta = with lib; {
22     description = "Algebraic data types for Python";
23     homepage = "https://github.com/jspahrsummers/adt";
24     license = licenses.mit;
25     maintainers = with maintainers; [ uri-canva ];
26     platforms = platforms.unix;
27   };