2017-01-31 12:34:14 +00:00
|
|
|
{
|
2017-06-02 15:49:32 +00:00
|
|
|
mkDerivation, kdeWrapper, fetchFromGitHub, lib,
|
2017-02-26 12:49:15 +00:00
|
|
|
extra-cmake-modules, kdoctools, kconfig, kinit, kjsembed,
|
2017-01-31 12:34:14 +00:00
|
|
|
taglib, exiv2, podofo
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krename";
|
2017-06-18 10:38:33 +00:00
|
|
|
version = "20170610";
|
2017-06-02 15:49:32 +00:00
|
|
|
unwrapped = mkDerivation rec {
|
2017-01-31 12:34:14 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "krename";
|
2017-06-18 10:38:33 +00:00
|
|
|
rev = "18000edfec52de0b417d575e14eb078b4bd7b2f3";
|
|
|
|
sha256 = "0hsrlfrbi42jqqnkcz682c6yrfi3xpl299672knj22074wr6sv0j";
|
2017-01-31 12:34:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = http://www.krename.net;
|
|
|
|
description = "A powerful batch renamer for KDE";
|
|
|
|
inherit (kconfig.meta) platforms;
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2017-01-31 12:34:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ taglib exiv2 podofo ];
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2017-01-31 12:34:14 +00:00
|
|
|
propagatedBuildInputs = [ kconfig kinit kjsembed ];
|
|
|
|
};
|
|
|
|
|
|
|
|
in kdeWrapper {
|
|
|
|
inherit unwrapped;
|
|
|
|
targets = [ "bin/krename" ];
|
|
|
|
}
|