summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/opack2/default.nix
blob: d2d4830cede005cd042d52fbfae59e3e5ee9856f (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
36
37
38
39
40
41
42
43
{
  arrow,
  buildPythonPackage,
  construct,
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "opack2";
  version = "0.0.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "doronz88";
    repo = "opack2";
    tag = "v${version}";
    hash = "sha256-7kRR4KOR3Wrya2YE8nL5laXrsnI1lSVZMBEij44J+T0=";
  };

  build-system = [ setuptools ];

  dependencies = [
    arrow
    construct
  ];

  pythonImportsCheck = [ "opack2" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/doronz88/opack2/releases/tag/${src.tag}";
    description = "Python library for parsing the opack format";
    homepage = "https://github.com/doronz88/opack2";
    license = lib.licenses.gpl3Plus;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}