2021-03-13 15:01:36 +00:00
|
|
|
{ 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";
|
2021-05-04 08:34:09 +00:00
|
|
|
version = "1.0.6";
|
2021-03-13 15:01:36 +00:00
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "rmnvgr";
|
|
|
|
repo = "metadata-cleaner";
|
|
|
|
rev = "v${version}";
|
2021-05-04 08:34:09 +00:00
|
|
|
sha256 = "0k9qnycaqxnmsjsyxqgip6xr5w9affzxjc4zyb38ajbq4arfq5wv";
|
2021-03-13 15:01:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|