depot/third_party/nixpkgs/pkgs/development/python-modules/zstandard/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

43 lines
741 B
Nix
Executable file

{ lib
, buildPythonPackage
, fetchPypi
, cffi
, hypothesis
, pythonOlder
}:
buildPythonPackage rec {
pname = "zstandard";
version = "0.20.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-YT2q3XLHGxSIdCyvssOzgcOdDJu4xswVeqLV6kXMLvw=";
};
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 ];
};
}