nixpkgs/pkgs/development/python-modules/sqltrie/default.nix
Jan Tojnar 8fcbb0c6ed Merge branch 'master' into staging-next
Conflicts:
- pkgs/development/python-modules/boto3-stubs/default.nix
- pkgs/development/python-modules/openllm-core/default.nix
  Between 0.4.22 → 0.4.34 (a82245bd3d)
  and 0.4.22 -> 0.4.41 (72c55ce6a6)
  Does not build, not pre-merge either.
2023-12-24 14:33:18 +01:00

51 lines
928 B
Nix

{ lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pygtrie
, orjson
, python
, setuptools-scm
}:
buildPythonPackage rec {
pname = "sqltrie";
version = "0.11.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iterative";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-QR5IlMHrDNsauKW3VQG0ibMUwetATuwX4fszGPzKuxg=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
attrs
orjson
pygtrie
];
# nox is not available at the moment
doCheck = false;
pythonImportsCheck = [
"sqltrie"
];
meta = with lib; {
description = "DVC's data management subsystem";
homepage = "https://github.com/iterative/sqltrie";
changelog = "https://github.com/iterative/sqltrie/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}