python311Packages.stringparser: 0.6 -> 0.7
Diff: https://github.com/hgrecco/stringparser/compare/refs/tags/0.6...0.7 Changelog: https://github.com/hgrecco/stringparser/blob/0.7/CHANGES
This commit is contained in:
parent
67f1e6206a
commit
c65b1f47ab
@ -1,35 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stringparser";
|
||||
version = "0.6";
|
||||
format = "setuptools";
|
||||
version = "0.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hgrecco";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-uyeHuH0UfpZqh7sMRI6+fR/Rr2jSzdR+5O/MtzslO5w=";
|
||||
repo = "stringparser";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-gj0ooeb869JhlB9Mf5nBydiV2thTes8ys+BLJ516iSA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools setuptools-scm ];
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
pythonImportsCheck = [ "stringparser" ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"stringparser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy to use pattern matching and information extraction";
|
||||
homepage = "https://github.com/hgrecco/stringparser";
|
||||
changelog = "https://github.com/hgrecco/stringparser/blob/${version}/CHANGES";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ evilmav ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user