depot/third_party/nixpkgs/pkgs/development/python-modules/python-snappy/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

38 lines
696 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
cramjam,
setuptools,
snappy,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "python-snappy";
version = "0.7.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-G8KdNiEdRLufBPPXzPuurrvC9ittQPT8Tt0fsWvFLBM=";
};
build-system = [
cramjam
setuptools
];
buildInputs = [ snappy ];
dependencies = [ cramjam ];
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
description = "Python library for the snappy compression library from Google";
homepage = "https://github.com/intake/python-snappy";
license = licenses.bsd3;
maintainers = [ ];
};
}