2017-01-31 13:34:14 +01:00
|
|
|
{
|
2018-07-02 07:38:29 +02:00
|
|
|
mkDerivation, fetchurl, lib,
|
2017-05-16 17:56:41 +02:00
|
|
|
extra-cmake-modules, kdoctools, wrapGAppsHook,
|
2017-07-02 11:01:22 +02:00
|
|
|
kconfig, kinit, kjsembed, taglib, exiv2, podofo,
|
|
|
|
kcrash
|
2017-01-31 13:34:14 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krename";
|
2018-07-02 07:38:29 +02:00
|
|
|
version = "5.0.0";
|
|
|
|
|
2017-05-16 17:56:41 +02:00
|
|
|
in mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2017-01-31 13:34:14 +01:00
|
|
|
|
2018-07-02 07:38:29 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
|
|
|
sha256 = "136j1dkqrhv458rjh5v3vzjhvq6dhz7k79zk6mmx8zvqacc7cq8a";
|
2017-05-16 17:56:41 +02:00
|
|
|
};
|
2017-01-31 13:34:14 +01:00
|
|
|
|
2017-05-16 17:56:41 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = http://www.krename.net;
|
|
|
|
description = "A powerful batch renamer for KDE";
|
2018-09-01 14:11:09 +02:00
|
|
|
license = licenses.gpl2;
|
2017-05-16 17:56:41 +02:00
|
|
|
inherit (kconfig.meta) platforms;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2017-01-31 13:34:14 +01:00
|
|
|
};
|
|
|
|
|
2017-05-16 17:56:41 +02:00
|
|
|
buildInputs = [ taglib exiv2 podofo ];
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
2017-07-02 11:01:22 +02:00
|
|
|
propagatedBuildInputs = [ kconfig kcrash kinit kjsembed ];
|
2017-01-31 13:34:14 +01:00
|
|
|
}
|