2022-11-27 09:42:12 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "heatshrink2";
|
|
|
|
version = "0.11.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eerimoq";
|
|
|
|
repo = "pyheatshrink";
|
|
|
|
rev = version;
|
|
|
|
fetchSubmodules = true;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-P3IofGbW4x+erGCyxIPvD9aNHIJ/GjjWgno4n95SQoQ=";
|
2022-11-27 09:42:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|