diff options
author | Alex Wied <centromere@users.noreply.github.com> | 2023-05-04 05:43:34 -0400 |
---|---|---|
committer | Alex Wied <centromere@users.noreply.github.com> | 2023-06-05 21:10:15 -0400 |
commit | 276e54000ed52125ea62946563c137e7422fd845 (patch) | |
tree | c30c8c79682919abc236c3b9aa17fd24ae0fcf74 /pkgs/development/python-modules/py-partiql-parser | |
parent | 14d96ff665fb5f95b97f828c93b64a7159edd632 (diff) |
python3Packages.py-partiql-parser: init at 0.3.3
https://github.com/getmoto/py-partiql-parser
Diffstat (limited to 'pkgs/development/python-modules/py-partiql-parser')
-rw-r--r-- | pkgs/development/python-modules/py-partiql-parser/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/py-partiql-parser/default.nix b/pkgs/development/python-modules/py-partiql-parser/default.nix new file mode 100644 index 0000000000000..e85e4116ba507 --- /dev/null +++ b/pkgs/development/python-modules/py-partiql-parser/default.nix @@ -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 ]; + }; +} |