1{ buildPythonPackage
2, fetchFromGitHub
3, lib
4}:
5
6buildPythonPackage rec {
7 pname = "heatshrink2";
8 version = "0.11.0";
9
10 src = fetchFromGitHub {
11 owner = "eerimoq";
12 repo = "pyheatshrink";
13 rev = version;
14 fetchSubmodules = true;
15 hash = "sha256-P3IofGbW4x+erGCyxIPvD9aNHIJ/GjjWgno4n95SQoQ=";
16 };
17
18 pythonImportsCheck = [ "heatshrink2" ];
19
20 meta = with lib; {
21 description = "Compression using the Heatshrink algorithm in Python 3.";
22 homepage = "https://github.com/eerimoq/pyheatshrink";
23 license = licenses.isc;
24 maintainers = with maintainers; [ prusnak ];
25 };
26}