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