mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
41 lines
889 B
Nix
41 lines
889 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
hatchling,
|
|
sure,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py-partiql-parser";
|
|
version = "0.6.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getmoto";
|
|
repo = "py-partiql-parser";
|
|
tag = version;
|
|
hash = "sha256-2qCGNRoeMRe5fPzoWFD9umZgUDW6by7jNfO/BByQGwE=";
|
|
};
|
|
|
|
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/${src.tag}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ centromere ];
|
|
};
|
|
}
|