about summary refs log tree commit diff
path: root/pkgs/development/python-modules/heatshrink2/default.nix
blob: dccb27327c4a4e602326018be04a92c95e720e79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];
  };
}