summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/lzfse/default.nix
blob: 005f21d591e366f2970905d6f074cf2de8d636a1 (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
32
33
34
35
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "lzfse";
  version = "0.4.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "m1stadev";
    repo = "lzfse";
    tag = "v${version}";
    fetchSubmodules = true;
    hash = "sha256-ER+Hr/WrGCB0uYwsSgB4U8sCPeZ4JlOHoeb5YEGUFFM=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "lzfse" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    changelog = "https://github.com/m1stadev/lzfse/releases/tag/${src.tag}";
    description = "Python bindings for the LZFSE reference implementation";
    homepage = "https://github.com/m1stadev/lzfse";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}