python312Packages.flexparser: init at 0.3.1

This commit is contained in:
Doron Behar
2024-06-14 17:12:29 +03:00
parent 1ecbd69071
commit 0b8fdadfa2
2 changed files with 39 additions and 0 deletions

View File

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

View File

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