summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/nixpkgs-plugin-update/default.nix
blob: 749a44d8fbad41fe3569fcc20cf7b5eeb6b2b97a (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
44
{
  lib,
  buildPythonPackage,
  uv-build,
  gitpython,
  packaging,
  ruff,
  mypy,
}:

buildPythonPackage {
  pname = "nixpkgs-plugin-update";
  version = "0.1.0";
  pyproject = true;

  src = ./nixpkgs-plugin-update;

  build-system = [ uv-build ];

  dependencies = [
    gitpython
    packaging
  ];

  nativeCheckInputs = [
    ruff
    mypy
  ];

  postInstallCheck = ''
    ruff check
    mypy
  '';

  meta = {
    description = "Library for updating plugin collections in Nixpkgs";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      teto
      PerchunPak
      khaneliman
    ];
  };
}