1{
2 lib,
3 attrs,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7 pygtrie,
8 orjson,
9 setuptools-scm,
10}:
11
12buildPythonPackage rec {
13 pname = "sqltrie";
14 version = "0.11.2";
15 format = "pyproject";
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchFromGitHub {
20 owner = "iterative";
21 repo = "sqltrie";
22 tag = version;
23 hash = "sha256-D1vYXyh/i0wy7sttW117vsMbUlQJ/mq7rlxLMJWoki0=";
24 };
25
26 nativeBuildInputs = [ setuptools-scm ];
27
28 propagatedBuildInputs = [
29 attrs
30 orjson
31 pygtrie
32 ];
33
34 # nox is not available at the moment
35 doCheck = false;
36
37 pythonImportsCheck = [ "sqltrie" ];
38
39 meta = with lib; {
40 description = "DVC's data management subsystem";
41 homepage = "https://github.com/iterative/sqltrie";
42 changelog = "https://github.com/iterative/sqltrie/releases/tag/${version}";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ fab ];
45 };
46}