depot/third_party/nixpkgs/pkgs/development/python-modules/heatshrink2/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

26 lines
602 B
Nix

{ 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 ];
};
}