depot/third_party/nixpkgs/pkgs/development/python-modules/heatshrink2/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
680 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
}:
buildPythonPackage rec {
pname = "heatshrink2";
version = "0.12.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "eerimoq";
repo = "pyheatshrink";
rev = "refs/tags/${version}";
fetchSubmodules = true;
hash = "sha256-JthHYq78SYr49+sTNtLZ8GjtrHcr1dzXcPskTrb4M3o=";
};
pythonImportsCheck = [ "heatshrink2" ];
meta = with lib; {
description = "Compression using the Heatshrink algorithm";
homepage = "https://github.com/eerimoq/pyheatshrink";
license = licenses.isc;
maintainers = with maintainers; [ prusnak ];
};
}