summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/patchpy/default.nix
blob: e66fb6169c74e3262de0be3c7a96de4bd0bb3a90 (about) (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
  more-itertools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "patchpy";
  version = "2.0.4";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-q+k9vYz5crCsBjI5QH7Xz3QVpntzrIXeO456dyrzf4I=";
  };

  build-system = [ hatchling ];

  dependencies = [ more-itertools ];

  pythonImportsCheck = [ "patchpy" ];
  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Modern Python library for patch file parsing";
    homepage = "https://github.com/MatthewScholefield/patchpy";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sigmanificient ];
    mainProgram = "patchpy";
  };
}