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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, setuptools
|
, setuptools
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, pytestCheckHook
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "stringparser";
|
pname = "stringparser";
|
||||||
version = "0.6";
|
version = "0.7";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hgrecco";
|
owner = "hgrecco";
|
||||||
repo = pname;
|
repo = "stringparser";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-uyeHuH0UfpZqh7sMRI6+fR/Rr2jSzdR+5O/MtzslO5w=";
|
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; {
|
meta = with lib; {
|
||||||
description = "Easy to use pattern matching and information extraction";
|
description = "Easy to use pattern matching and information extraction";
|
||||||
homepage = "https://github.com/hgrecco/stringparser";
|
homepage = "https://github.com/hgrecco/stringparser";
|
||||||
|
changelog = "https://github.com/hgrecco/stringparser/blob/${version}/CHANGES";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ evilmav ];
|
maintainers = with maintainers; [ evilmav ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user