nixpkgs/pkgs/development/python-modules/zstandard/default.nix
Frederik Rietdijk 0091e0358b python.pkgs.zstandard: it vendors a copy of zstd...
so we don't even need to give zstd at all.
Related discussion https://github.com/NixOS/nixpkgs/issues/92075.

Follow-up to 3b4df94aeb
2020-07-02 21:49:26 +02:00

28 lines
574 B
Nix
Executable File

{ lib
, buildPythonPackage
, fetchPypi
, cffi
, hypothesis
}:
buildPythonPackage rec {
pname = "zstandard";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "e5cbd8b751bd498f275b0582f449f92f14e64f4e03b5bf51c571240d40d43561";
};
propagatedBuildInputs = [ cffi ];
checkInputs = [ hypothesis ];
meta = with lib; {
description = "zstandard bindings for Python";
homepage = "https://github.com/indygreg/python-zstandard";
license = licenses.bsdOriginal;
maintainers = [ maintainers.arnoldfarkas ];
};
}