python312Packages.flexparser: init at 0.3.1
This commit is contained in:
parent
4835609033
commit
d1e288438d
55
pkgs/development/python-modules/flexparser/default.nix
Normal file
55
pkgs/development/python-modules/flexparser/default.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user