2020-04-24 23:36:52 +00:00
|
|
|
{
|
|
|
|
mkDerivation, fetchurl, lib,
|
|
|
|
extra-cmake-modules, kdoctools, wrapGAppsHook,
|
|
|
|
kconfig, kinit, kjsembed, taglib, exiv2, podofo,
|
|
|
|
kcrash
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krename";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "5.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
in mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-sjxgp93Z9ttN1/VaxV/MqKVY+miq+PpcuJ4er2kvI+0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ taglib exiv2 podofo ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ kconfig kcrash kinit kjsembed ];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
NIX_LDFLAGS = "-ltag";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A powerful batch renamer for KDE";
|
|
|
|
homepage = "https://kde.org/applications/utilities/krename/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
inherit (kconfig.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|