3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #229956 from centromere/py-partiql-parser-0.3.0

python3Packages.py-partiql-parser: init at 0.3.3
This commit is contained in:
Sandro 2023-06-08 18:17:39 +02:00 committed by GitHub
commit efe2c76c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, nix-update-script
, pytestCheckHook
, setuptools
, sure
}:
buildPythonPackage rec {
pname = "py-partiql-parser";
version = "0.3.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "getmoto";
repo = "py-partiql-parser";
rev = "refs/tags/${version}";
hash = "sha256-7FYIRlr75L0y1d9jgbPpq/G7VC4YMD7IUQVNhfHdCh8=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
sure
];
pythonImportsCheck = [
"py_partiql_parser"
];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "A tokenizer/parser/executor for the PartiQL-language, in Python";
homepage = "https://github.com/getmoto/py-partiql-parser";
changelog = "https://github.com/getmoto/py-partiql-parser/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ centromere ];
};
}

View file

@ -8181,6 +8181,8 @@ self: super: with self; {
py-nightscout = callPackage ../development/python-modules/py-nightscout { };
py-partiql-parser = callPackage ../development/python-modules/py-partiql-parser { };
py-pdf-parser = callPackage ../development/python-modules/py-pdf-parser { };
py-serializable = callPackage ../development/python-modules/py-serializable { };