setbfree: 0.8.12 -> 0.8.13 (#372025)
[NixPkgs.git] / pkgs / by-name / me / metadata-cleaner / package.nix
blob1f42f6b474f3bc641606727afda6ec4c8ddbf7fe
2   lib,
3   python3,
4   fetchFromGitLab,
5   appstream,
6   desktop-file-utils,
7   glib,
8   gobject-introspection,
9   gtk4,
10   itstool,
11   libadwaita,
12   librsvg,
13   meson,
14   ninja,
15   nix-update-script,
16   pkg-config,
17   poppler_gi,
18   wrapGAppsHook4,
21 python3.pkgs.buildPythonApplication rec {
22   pname = "metadata-cleaner";
23   version = "2.5.6";
25   format = "other";
27   src = fetchFromGitLab {
28     owner = "rmnvgr";
29     repo = "metadata-cleaner";
30     rev = "v${version}";
31     hash = "sha256-J+nwgLbAFoh1gq3J4cqQEShZJCSZesyCjT9DfkCWIHs=";
32   };
34   nativeBuildInputs = [
35     appstream
36     desktop-file-utils
37     glib # glib-compile-resources
38     gtk4 # gtk4-update-icon-cache
39     gobject-introspection
40     itstool
41     meson
42     ninja
43     pkg-config
44     wrapGAppsHook4
45   ];
47   buildInputs = [
48     glib
49     gtk4
50     libadwaita
51     librsvg
52     poppler_gi
53   ];
55   dependencies = with python3.pkgs; [
56     mat2
57     pygobject3
58   ];
60   passthru = {
61     updateScript = nix-update-script { };
62   };
64   meta = with lib; {
65     description = "Python GTK application to view and clean metadata in files, using mat2";
66     mainProgram = "metadata-cleaner";
67     homepage = "https://gitlab.com/rmnvgr/metadata-cleaner";
68     changelog = "https://gitlab.com/rmnvgr/metadata-cleaner/-/blob/${src.rev}/CHANGELOG.md";
69     license = with licenses; [
70       gpl3Plus
71       cc-by-sa-40
72     ];
73     maintainers = with maintainers; [ dotlambda ] ++ lib.teams.gnome-circle.members;
74   };