forked from mirrors/nixpkgs
Merge pull request #101255 from kmein/feature/python-packages
python3Packages.{pygtrie, betacode}: init
This commit is contained in:
commit
0749c7d68d
19
pkgs/development/python-modules/betacode/default.nix
Normal file
19
pkgs/development/python-modules/betacode/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
15
pkgs/development/python-modules/pygtrie/default.nix
Normal file
15
pkgs/development/python-modules/pygtrie/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, ... }:
|
||||
buildPythonPackage rec {
|
||||
pname = "pygtrie";
|
||||
version = "2.3";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "00x7q4p9r75zdnw3a8vd0d0w0i5l28w408g5bsfl787yv6b1h9i8";
|
||||
};
|
||||
meta = {
|
||||
homepage = "https://github.com/mina86/pygtrie";
|
||||
description = "Trie data structure implementation";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ kmein ];
|
||||
};
|
||||
}
|
|
@ -831,6 +831,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 { };
|
||||
|
@ -5102,6 +5104,8 @@ in {
|
|||
|
||||
pygtksourceview = callPackage ../development/python-modules/pygtksourceview { inherit (pkgs) pkgconfig; };
|
||||
|
||||
pygtrie = callPackage ../development/python-modules/pygtrie { };
|
||||
|
||||
pyhamcrest = if isPy3k then
|
||||
callPackage ../development/python-modules/pyhamcrest { }
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue