python312Packages.flexparser: init at 0.3.1

This commit is contained in:
Martin Weinelt 2024-06-20 14:29:25 +02:00
parent 4835609033
commit d1e288438d
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
wheel,
# dependencies
typing-extensions,
# checks
pytestCheckHook,
pytest-mpl,
pytest-subtests,
}:
buildPythonPackage rec {
pname = "flexparser";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "hgrecco";
repo = "flexparser";
rev = version;
hash = "sha256-9ImG8uh1SZ+pAbqzWBkTVn+3EBAGzzdP8vqqP59IgIw=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = [ typing-extensions ];
nativeCheckInputs = [
pytestCheckHook
pytest-mpl
pytest-subtests
];
pythonImportsCheck = [ "flexparser" ];
meta = with lib; {
description = "Parsing made fun ... using typing";
homepage = "https://github.com/hgrecco/flexparser";
changelog = "https://github.com/hgrecco/flexparser/blob/${src.rev}/CHANGES";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}

View File

@ -4457,6 +4457,8 @@ self: super: with self; {
flexmock = callPackage ../development/python-modules/flexmock { };
flexparser = callPackage ../development/python-modules/flexparser { };
flickrapi = callPackage ../development/python-modules/flickrapi { };
flipr-api = callPackage ../development/python-modules/flipr-api { };