depot/third_party/nixpkgs/pkgs/development/python-modules/py-partiql-parser/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

41 lines
904 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
hatchling,
sure,
}:
buildPythonPackage rec {
pname = "py-partiql-parser";
version = "0.5.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "getmoto";
repo = "py-partiql-parser";
rev = "refs/tags/${version}";
hash = "sha256-BSqc3xibStb3J6Rua4dDp/eRD5/ns/dU1vGa4vL1Cyo=";
};
build-system = [ hatchling ];
nativeCheckInputs = [
pytestCheckHook
sure
];
pythonImportsCheck = [ "py_partiql_parser" ];
meta = with lib; {
description = "Tokenizer/parser/executor for the PartiQL-language";
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 ];
};
}