pythonPackages.globre: init at 0.1.5

Disabled this on python >= 3.7, since the test suite fails, though I'm
sure if someone else wants it on a new python version the test suite
could be fixed.
This commit is contained in:
Griffin Smith 2020-04-11 00:52:58 -04:00
parent a48804d24b
commit 58ee17a508
2 changed files with 30 additions and 0 deletions

View File

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

View File

@ -741,6 +741,8 @@ in {
glob2 = callPackage ../development/python-modules/glob2 { };
globre = callPackage ../development/python-modules/globre { };
glom = callPackage ../development/python-modules/glom { };
goocalendar = callPackage ../development/python-modules/goocalendar { };