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

36 lines
882 B
Nix
Raw Normal View History

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