Merge pull request #84973 from glittershark/init-aadict
pythonPackages.{aadict,,globre,pxml}: init at 0.2.3, 0.1.5, 0.2.13 respectively
This commit is contained in:
commit
6faba433b2
|
@ -3024,6 +3024,16 @@
|
||||||
githubId = 615606;
|
githubId = 615606;
|
||||||
name = "Glenn Searby";
|
name = "Glenn Searby";
|
||||||
};
|
};
|
||||||
|
glittershark = {
|
||||||
|
name = "Griffin Smith";
|
||||||
|
email = "root@gws.fyi";
|
||||||
|
github = "glittershark";
|
||||||
|
githubId = 1481027;
|
||||||
|
keys = [{
|
||||||
|
longkeyid = "rsa2048/0x44EF5B5E861C09A7";
|
||||||
|
fingerprint = "0F11 A989 879E 8BBB FDC1 E236 44EF 5B5E 861C 09A7";
|
||||||
|
}];
|
||||||
|
};
|
||||||
gloaming = {
|
gloaming = {
|
||||||
email = "ch9871@gmail.com";
|
email = "ch9871@gmail.com";
|
||||||
github = "gloaming";
|
github = "gloaming";
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, six
|
||||||
|
, nose
|
||||||
|
, coverage
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aadict";
|
||||||
|
version = "0.2.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "013pn9ii6mkql6khgdvsd1gi7zmya418fhclm5fp7dfvann2hwx7";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
checkInputs = [ nose coverage ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/metagriffin/aadict";
|
||||||
|
description = "An auto-attribute dict (and a couple of other useful dict functions).";
|
||||||
|
maintainers = with maintainers; [ glittershark ];
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv
|
||||||
|
, pythonAtLeast
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, coverage
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "globre";
|
||||||
|
version = "0.1.5";
|
||||||
|
# https://github.com/metagriffin/globre/issues/7
|
||||||
|
disabled = pythonAtLeast "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1qhjpg0722871dm5m7mmldf6c7mx58fbdvk1ix5i3s9py82448gf";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ nose coverage ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/metagriffin/globre";
|
||||||
|
description = "A python glob-like regular expression generation library.";
|
||||||
|
maintainers = with maintainers; [ glittershark ];
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
{ stdenv
|
||||||
|
, pythonAtLeast
|
||||||
|
, isPy27
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, blessings
|
||||||
|
, six
|
||||||
|
, nose
|
||||||
|
, coverage
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pxml";
|
||||||
|
version = "0.2.13";
|
||||||
|
disabled = pythonAtLeast "3.8";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0c9zzfv6ciyf9qm7556wil45xxgykg1cj8isp1b88gimwcb2hxg4";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ blessings six ];
|
||||||
|
checkInputs = [ nose coverage ];
|
||||||
|
|
||||||
|
# test_prefixedWhitespace fails due to a python3 StringIO issue requiring
|
||||||
|
# bytes rather than str
|
||||||
|
checkPhase = ''
|
||||||
|
nosetests -e 'test_prefixedWhitespace'
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/metagriffin/pxml";
|
||||||
|
description = ''A python library and command-line tool to "prettify" and colorize XML.'';
|
||||||
|
maintainers = with maintainers; [ glittershark ];
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -150,6 +150,8 @@ in {
|
||||||
|
|
||||||
pynamodb = callPackage ../development/python-modules/pynamodb { };
|
pynamodb = callPackage ../development/python-modules/pynamodb { };
|
||||||
|
|
||||||
|
aadict = callPackage ../development/python-modules/aadict { };
|
||||||
|
|
||||||
absl-py = callPackage ../development/python-modules/absl-py { };
|
absl-py = callPackage ../development/python-modules/absl-py { };
|
||||||
|
|
||||||
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };
|
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };
|
||||||
|
@ -788,6 +790,8 @@ in {
|
||||||
|
|
||||||
glob2 = callPackage ../development/python-modules/glob2 { };
|
glob2 = callPackage ../development/python-modules/glob2 { };
|
||||||
|
|
||||||
|
globre = callPackage ../development/python-modules/globre { };
|
||||||
|
|
||||||
glom = callPackage ../development/python-modules/glom { };
|
glom = callPackage ../development/python-modules/glom { };
|
||||||
|
|
||||||
gdcm = disabledIf isPy27 (toPythonModule (pkgs.gdcm.override {
|
gdcm = disabledIf isPy27 (toPythonModule (pkgs.gdcm.override {
|
||||||
|
@ -3473,6 +3477,8 @@ in {
|
||||||
inherit (pkgs) lzo;
|
inherit (pkgs) lzo;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pxml = callPackage ../development/python-modules/pxml { };
|
||||||
|
|
||||||
junos-eznc = callPackage ../development/python-modules/junos-eznc {};
|
junos-eznc = callPackage ../development/python-modules/junos-eznc {};
|
||||||
|
|
||||||
raven = callPackage ../development/python-modules/raven { };
|
raven = callPackage ../development/python-modules/raven { };
|
||||||
|
|
Loading…
Reference in New Issue