summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pygnuutils/default.nix
blob: fe57938210e51f4f94efe724f1eadc199416f199 (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
{
  buildPythonPackage,
  click,
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pygnuutils";
  version = "0.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "matan1008";
    repo = "pygnuutils";
    tag = "v${version}";
    hash = "sha256-RySqq1V6ad3W53Rp/ZweMPnbM7C3RDm3b6KV/FKQyW0=";
  };

  build-system = [ setuptools ];

  dependencies = [
    click
  ];

  pythonImportsCheck = [ "pygnuutils" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/matan1008/pygnuutils/releases/tag/${src.tag}";
    description = "Pure python implementation for GNU utils";
    homepage = "https://github.com/matan1008/pygnuutils";
    license = lib.licenses.gpl3Only;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}