pythonPackages.fb-re2: init at 1.0.6
This commit is contained in:
parent
33b906bacf
commit
cb3e6e72b9
30
pkgs/development/python-modules/fb-re2/default.nix
Normal file
30
pkgs/development/python-modules/fb-re2/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, re2
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "fb-re2";
|
||||||
|
version = "1.0.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0wd97qdcafcca90s6692g2dmzl5n6cdvm20vn7pmag3l9gvx395c";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ re2 ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Python wrapper for Google's RE2";
|
||||||
|
homepage = https://github.com/facebook/pyre2;
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = with lib.maintainers; [ ivan ];
|
||||||
|
};
|
||||||
|
}
|
@ -1671,6 +1671,8 @@ in {
|
|||||||
then callPackage ../development/python-modules/faulthandler {}
|
then callPackage ../development/python-modules/faulthandler {}
|
||||||
else throw "faulthandler is built into ${python.executable}";
|
else throw "faulthandler is built into ${python.executable}";
|
||||||
|
|
||||||
|
fb-re2 = callPackage ../development/python-modules/fb-re2 { };
|
||||||
|
|
||||||
flit = callPackage ../development/python-modules/flit { };
|
flit = callPackage ../development/python-modules/flit { };
|
||||||
|
|
||||||
flowlogs_reader = callPackage ../development/python-modules/flowlogs_reader { };
|
flowlogs_reader = callPackage ../development/python-modules/flowlogs_reader { };
|
||||||
|
Loading…
Reference in New Issue
Block a user