mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 16:15:30 +00:00
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitLab
|
|
, appstream
|
|
, desktop-file-utils
|
|
, glib
|
|
, gobject-introspection
|
|
, gtk3
|
|
, libhandy
|
|
, librsvg
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, poppler_gi
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "metadata-cleaner";
|
|
version = "1.0.3";
|
|
|
|
format = "other";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "rmnvgr";
|
|
repo = "metadata-cleaner";
|
|
rev = "v${version}";
|
|
sha256 = "06dzfcnjb1xd8lk0r7bi4i784gfj8r7habbjbk2c4vn2847v71lf";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
appstream
|
|
desktop-file-utils
|
|
glib
|
|
gtk3
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gobject-introspection
|
|
gtk3
|
|
libhandy
|
|
librsvg
|
|
poppler_gi
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
mat2
|
|
pygobject3
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python GTK application to view and clean metadata in files, using mat2";
|
|
homepage = "https://gitlab.com/rmnvgr/metadata-cleaner";
|
|
license = with licenses; [ gpl3Plus cc-by-sa-40 ];
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|