nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage rec {
8 pname = "heatshrink2";
9 version = "0.13.0";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "eerimoq";
14 repo = "pyheatshrink";
15 tag = version;
16 fetchSubmodules = true;
17 hash = "sha256-gspMd3Fyxe2/GhZYdKjVcZXRlslay3jO4jZuVG79G44=";
18 };
19
20 pythonImportsCheck = [ "heatshrink2" ];
21
22 meta = {
23 description = "Compression using the Heatshrink algorithm";
24 homepage = "https://github.com/eerimoq/pyheatshrink";
25 license = lib.licenses.isc;
26 maintainers = with lib.maintainers; [ prusnak ];
27 };
28}