python3Packages.stringparser: init at 0.6
This commit is contained in:
parent
938bca634e
commit
6b6d947716
36
pkgs/development/python-modules/stringparser/default.nix
Normal file
36
pkgs/development/python-modules/stringparser/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user