about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2022-11-21 22:43:29 +0100
committerGitHub <noreply@github.com>2022-11-21 22:43:29 +0100
commit22542235232c9c154e0e8e6a2384d898395df3ab (patch)
tree4b8693a733fba848d6309977bc716458848408e7 /pkgs/development
parentaee7510bf1c4942b3ce0f73ed69476c21b896fc4 (diff)
parentb8bcebad11bf18f2c3e94b49d92ee638332885ae (diff)
Merge pull request #201910 from prusnak/heatshrink2
python3Packages.heatshrink2: init at 0.11.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/heatshrink2/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/heatshrink2/default.nix b/pkgs/development/python-modules/heatshrink2/default.nix
new file mode 100644
index 0000000000000..dccb27327c4a4
--- /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 ];
+  };
+}