2017-01-31 12:34:14 +00:00
|
|
|
{
|
2018-07-02 06:38:29 +01:00
|
|
|
mkDerivation, fetchurl, lib,
|
2017-05-16 16:56:41 +01:00
|
|
|
extra-cmake-modules, kdoctools, wrapGAppsHook,
|
2017-07-02 10:01:22 +01:00
|
|
|
kconfig, kinit, kjsembed, taglib, exiv2, podofo,
|
|
|
|
kcrash
|
2017-01-31 12:34:14 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krename";
|
2020-11-02 13:31:57 +00:00
|
|
|
version = "5.0.1";
|
2018-07-02 06:38:29 +01:00
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
in mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2017-01-31 12:34:14 +00:00
|
|
|
|
2018-07-02 06:38:29 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
2020-11-02 13:31:57 +00:00
|
|
|
sha256 = "0zbadxjp13jqxgb58wslhm0wy2lhpdq1bgbvyhyn21mssfppib6a";
|
2017-05-16 16:56:41 +01:00
|
|
|
};
|
2017-01-31 12:34:14 +00:00
|
|
|
|
2019-04-10 14:30:26 +01:00
|
|
|
buildInputs = [ taglib exiv2 podofo ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ kconfig kcrash kinit kjsembed ];
|
|
|
|
|
2020-08-23 05:43:32 +01:00
|
|
|
NIX_LDFLAGS = "-ltag";
|
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A powerful batch renamer for KDE";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://kde.org/applications/utilities/krename/";
|
2018-09-01 13:11:09 +01:00
|
|
|
license = licenses.gpl2;
|
2017-05-16 16:56:41 +01:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2019-04-10 14:30:26 +01:00
|
|
|
inherit (kconfig.meta) platforms;
|
2017-01-31 12:34:14 +00:00
|
|
|
};
|
|
|
|
}
|