mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
Diff: https://gitlab.com/metadatacleaner/metadatacleaner/-/compare/v4.0.0...4.0.1 Changelog: https://gitlab.com/metadatacleaner/metadatacleaner/-/releases/v4.0.1
70 lines
1.3 KiB
Nix
70 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitLab,
|
|
appstream,
|
|
desktop-file-utils,
|
|
glib,
|
|
gobject-introspection,
|
|
gtk4,
|
|
itstool,
|
|
libadwaita,
|
|
librsvg,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
poppler_gi,
|
|
wrapGAppsHook4,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication (finalAttrs: {
|
|
pname = "metadata-cleaner";
|
|
version = "4.0.1";
|
|
pyproject = false;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "metadatacleaner";
|
|
repo = "metadatacleaner";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-A8muBAHJUgSjksBWL/wr8WgJFUYyUOj+DE6mmHaKB0E=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
appstream
|
|
desktop-file-utils
|
|
glib # glib-compile-resources
|
|
gtk4 # gtk4-update-icon-cache
|
|
gobject-introspection
|
|
itstool
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
libadwaita
|
|
librsvg
|
|
poppler_gi
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
mat2
|
|
pygobject3
|
|
];
|
|
|
|
meta = {
|
|
description = "Python GTK application to view and clean metadata in files, using mat2";
|
|
mainProgram = "metadata-cleaner";
|
|
homepage = "https://gitlab.com/metadatacleaner/metadatacleaner";
|
|
changelog = "https://gitlab.com/metadatacleaner/metadatacleaner/-/releases/${finalAttrs.src.tag}";
|
|
license = with lib.licenses; [
|
|
gpl3Plus
|
|
cc-by-sa-40
|
|
];
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
})
|