python3Packages.stringparser: init at 0.6

This commit is contained in:
Ilya Elenskiy 2023-05-13 00:33:44 +02:00 committed by Ilya Elenskiy
parent 938bca634e
commit 6b6d947716
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, setuptools-scm
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "stringparser";
version = "0.6";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "hgrecco";
repo = pname;
rev = version;
sha256 = "sha256-uyeHuH0UfpZqh7sMRI6+fR/Rr2jSzdR+5O/MtzslO5w=";
};
nativeBuildInputs = [ setuptools setuptools-scm ];
pythonImportsCheck = [ "stringparser" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Easy to use pattern matching and information extraction";
homepage = "https://github.com/hgrecco/stringparser";
license = licenses.bsd3;
maintainers = with maintainers; [ evilmav ];
};
}

View File

@ -11681,6 +11681,8 @@ self: super: with self; {
stringly = callPackage ../development/python-modules/stringly { };
stringparser = callPackage ../development/python-modules/stringparser { };
stripe = callPackage ../development/python-modules/stripe { };
striprtf = callPackage ../development/python-modules/striprtf { };