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