nixpkgs/pkgs/applications/misc/krename/default.nix

36 lines
926 B
Nix
Raw Normal View History

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