From 7c92d539c1cbaa372d47eef139193b25f535187f Mon Sep 17 00:00:00 2001 From: Arnold Farkas <59696216+arnoldfarkas@users.noreply.github.com> Date: Fri, 14 Feb 2020 17:35:36 +0100 Subject: [PATCH] pythonPackages.zstandard: init at 0.13.0 (#79215) --- .../python-modules/zstandard/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100755 pkgs/development/python-modules/zstandard/default.nix diff --git a/pkgs/development/python-modules/zstandard/default.nix b/pkgs/development/python-modules/zstandard/default.nix new file mode 100755 index 000000000000..bcac246e8f62 --- /dev/null +++ b/pkgs/development/python-modules/zstandard/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchPypi +, cffi +, hypothesis +, zstd +}: + +buildPythonPackage rec { + pname = "zstandard"; + version = "0.13.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "e5cbd8b751bd498f275b0582f449f92f14e64f4e03b5bf51c571240d40d43561"; + }; + + propagatedBuildInputs = [ cffi zstd ]; + + checkInputs = [ hypothesis ]; + + meta = with lib; { + description = "zstandard bindings for Python"; + homepage = "https://github.com/indygreg/python-zstandard"; + license = licenses.bsdOriginal; + maintainers = [ maintainers.arnoldfarkas ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 02c6ef3cd265..ed8f513db86a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6764,6 +6764,8 @@ in { inherit (pkgs) zstd pkgconfig; }; + zstandard = callPackage ../development/python-modules/zstandard { }; + zxcvbn = callPackage ../development/python-modules/zxcvbn { }; incremental = callPackage ../development/python-modules/incremental { };