diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-09-28 15:30:15 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-09-28 22:14:42 +0000 |
commit | 80e4dc93ce4bb109cd00a98f0b39151f09de9d9b (patch) | |
tree | 64aa611a6a199dc0f40fc56d050d99e125e5c830 /nixpkgs/pkgs/development/python-modules/algebraic-data-types/default.nix | |
parent | bfa679f5a8e9beff6008ea0e9d5eabfa68018e20 (diff) | |
parent | 2436c27541b2f52deea3a4c1691216a02152e729 (diff) | |
download | nixlib-80e4dc93ce4bb109cd00a98f0b39151f09de9d9b.tar nixlib-80e4dc93ce4bb109cd00a98f0b39151f09de9d9b.tar.gz nixlib-80e4dc93ce4bb109cd00a98f0b39151f09de9d9b.tar.bz2 nixlib-80e4dc93ce4bb109cd00a98f0b39151f09de9d9b.tar.lz nixlib-80e4dc93ce4bb109cd00a98f0b39151f09de9d9b.tar.xz nixlib-80e4dc93ce4bb109cd00a98f0b39151f09de9d9b.tar.zst nixlib-80e4dc93ce4bb109cd00a98f0b39151f09de9d9b.zip |
Merge commit '2436c27541b2f52deea3a4c1691216a02152e729'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/algebraic-data-types/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/algebraic-data-types/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/algebraic-data-types/default.nix b/nixpkgs/pkgs/development/python-modules/algebraic-data-types/default.nix new file mode 100644 index 000000000000..4b4986795ce1 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/algebraic-data-types/default.nix @@ -0,0 +1,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; + }; +} |