depot/third_party/nixpkgs/pkgs/development/python-modules/sqltrie/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
927 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 ];
};
}