fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
36 lines
725 B
Nix
36 lines
725 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
cffi,
|
|
hypothesis,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zstandard";
|
|
version = "0.22.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-giajPFQry1TNa9CjZgZ7YQtBcTtkyavsG8RTPWn1HnA=";
|
|
};
|
|
|
|
propagatedNativeBuildInputs = [ cffi ];
|
|
|
|
propagatedBuildInputs = [ cffi ];
|
|
|
|
nativeCheckInputs = [ hypothesis ];
|
|
|
|
pythonImportsCheck = [ "zstandard" ];
|
|
|
|
meta = with lib; {
|
|
description = "zstandard bindings for Python";
|
|
homepage = "https://github.com/indygreg/python-zstandard";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ arnoldfarkas ];
|
|
};
|
|
}
|