about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-lzf/default.nix
blob: c2592f9562534e9672f0b178d38deb6e307d3cae (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
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";
    rev = "refs/tags/release-${version}";
    hash = "sha256-n5E75kRqe0dDbyFicoyLBAVi/SuoUU7qJka3viipQk8=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ unittestCheckHook ];

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