blob: 481d73134178dbcd5810dcd9f0b49b7d2164170f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ 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 ];
};
}
|