From b8bcebad11bf18f2c3e94b49d92ee638332885ae Mon Sep 17 00:00:00 2001 From: adisbladis Date: Wed, 20 Jul 2022 15:58:00 +0800 Subject: [PATCH] python3Packages.heatshrink2: init at 0.11.0 Co-Authored-By: Pavol Rusnak --- .../python-modules/heatshrink2/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/heatshrink2/default.nix diff --git a/pkgs/development/python-modules/heatshrink2/default.nix b/pkgs/development/python-modules/heatshrink2/default.nix new file mode 100644 index 000000000000..dccb27327c4a --- /dev/null +++ b/pkgs/development/python-modules/heatshrink2/default.nix @@ -0,0 +1,26 @@ +{ buildPythonPackage +, fetchFromGitHub +, lib +}: + +buildPythonPackage rec { + pname = "heatshrink2"; + version = "0.11.0"; + + src = fetchFromGitHub { + owner = "eerimoq"; + repo = "pyheatshrink"; + rev = version; + fetchSubmodules = true; + sha256 = "sha256-P3IofGbW4x+erGCyxIPvD9aNHIJ/GjjWgno4n95SQoQ="; + }; + + pythonImportsCheck = [ "heatshrink2" ]; + + meta = with lib; { + description = "Compression using the Heatshrink algorithm in Python 3."; + homepage = "https://github.com/eerimoq/pyheatshrink"; + license = licenses.isc; + maintainers = with maintainers; [ prusnak ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fb68425146ad..a21784d1476e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4151,6 +4151,8 @@ self: super: with self; { heapdict = callPackage ../development/python-modules/heapdict { }; + heatshrink2 = callPackage ../development/python-modules/heatshrink2 { }; + heatzypy = callPackage ../development/python-modules/heatzypy { }; helpdev = callPackage ../development/python-modules/helpdev { };