d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
46 lines
967 B
Nix
46 lines
967 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, pytestCheckHook
|
|
, setuptools
|
|
, sure
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py-partiql-parser";
|
|
version = "0.3.6";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getmoto";
|
|
repo = "py-partiql-parser";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-wfVADL87ObJbuYQ2MYcRH0DCOGymS6+mrp7pAIKoS4Q=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|