depot/third_party/nixpkgs/pkgs/development/python-modules/py-partiql-parser/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
906 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 = "A 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 ];
};
}