3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #69179 from uri-canva/algebraic-data-types

pythonPackages.algebraic-data-types: init at 0.1.1
This commit is contained in:
Daiderd Jordan 2019-09-21 13:52:29 +02:00 committed by GitHub
commit 98c40b132d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -1277,6 +1277,8 @@ in {
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
algebraic-data-types = callPackage ../development/python-modules/algebraic-data-types { };
altair = callPackage ../development/python-modules/altair { };
vega = callPackage ../development/python-modules/vega { };