python3Packages.betacode: init at 1.0

This commit is contained in:
Kierán Meinhardt 2020-10-21 15:50:29 +02:00
parent 55d047fc0e
commit cd63b94b0d
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ fetchPypi, buildPythonPackage, pygtrie, isPy3k, lib, }:
buildPythonPackage rec {
pname = "betacode";
version = "1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0s84kd9vblbjz61q7zchx64a6hmdqb4lillna5ryh0g9ij76g6r5";
};
preBuild = ''echo > README.rst'';
# setup.py uses a python3 os.path.join
disabled = !isPy3k;
propagatedBuildInputs = [ pygtrie ];
meta = {
homepage = "https://github.com/matgrioni/betacode";
description = "A small python package to flexibly convert from betacode to unicode and back.";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kmein ];
};
}

View file

@ -817,6 +817,8 @@ in {
bespon = callPackage ../development/python-modules/bespon { };
betacode = callPackage ../development/python-modules/betacode { };
betamax = callPackage ../development/python-modules/betamax { };
betamax-matchers = callPackage ../development/python-modules/betamax-matchers { };