depot/third_party/nixpkgs/pkgs/applications/misc/krename/default.nix
Default email eefb417d14 Project import generated by Copybara.
GitOrigin-RevId: a52e974cff8fb80c427e0d55c01b3b8c770ccec4
2020-11-06 01:33:48 +01:00

35 lines
882 B
Nix

{
mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kinit, kjsembed, taglib, exiv2, podofo,
kcrash
}:
let
pname = "krename";
version = "5.0.1";
in mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "0zbadxjp13jqxgb58wslhm0wy2lhpdq1bgbvyhyn21mssfppib6a";
};
buildInputs = [ taglib exiv2 podofo ];
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kconfig kcrash kinit kjsembed ];
NIX_LDFLAGS = "-ltag";
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;
};
}