summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-lzf/default.nix
blob: 014bf431c028727730a0aefcd292d2d12ef422de (plain)
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
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  unittestCheckHook,
}:

buildPythonPackage rec {
  version = "0.2.6";
  pname = "python-lzf";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "teepark";
    repo = "python-lzf";
    tag = "release-${version}";
    hash = "sha256-n5E75kRqe0dDbyFicoyLBAVi/SuoUU7qJka3viipQk8=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ unittestCheckHook ];

  meta = {
    description = "Liblzf python bindings";
    homepage = "https://github.com/teepark/python-lzf";
    license = lib.licenses.mit;
    platforms = lib.platforms.unix;
  };
}