blob: 24931f25029cba2a92a21aaf401063905b053508 (
plain) (
blame)
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
|
{
fetchPypi,
buildPythonPackage,
pygtrie,
isPy3k,
lib,
}:
buildPythonPackage rec {
pname = "betacode";
version = "1.0";
format = "setuptools";
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 = "Small python package to flexibly convert from betacode to unicode and back";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kmein ];
};
}
|