diff --git a/pkgs/by-name/kr/krename/package.nix b/pkgs/by-name/kr/krename/package.nix new file mode 100644 index 000000000000..50add1b75286 --- /dev/null +++ b/pkgs/by-name/kr/krename/package.nix @@ -0,0 +1,65 @@ +{ + stdenv, + fetchFromGitLab, + lib, + extra-cmake-modules, + kdePackages, + taglib, + exiv2, + podofo_0_10, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "krename"; + version = "5.0.60-unstable-2025-09-02"; + + # For when the next stable release is made + # src = fetchurl { + # url = "mirror://kde/stable/krename/${version}/src/krename-${finalAttrs.version}.tar.xz"; + # hash = "sha256-sjxgp93Z9ttN1/VaxV/MqKVY+miq+PpcuJ4er2kvI+0="; + # }; + + src = fetchFromGitLab { + domain = "invent.kde.org"; + owner = "utilities"; + repo = "krename"; + + rev = "5ad5f5a1f0a1c7573fa1b872a1472dec96fe0dd7"; + hash = "sha256-fGNiIGGq10F71wh37aKDB7Q3fCxSXqttg/176LH3nVM="; + }; + + buildInputs = with kdePackages; [ + exiv2 + podofo_0_10 + kio + kxmlgui + qtbase + qtdeclarative + qt5compat + taglib + ]; + + nativeBuildInputs = [ + extra-cmake-modules + kdePackages.kdoctools + kdePackages.wrapQtAppsHook + ]; + + env.NIX_LDFLAGS = "-ltag"; + + meta = { + description = "Powerful batch renamer for KDE"; + mainProgram = "krename"; + homepage = "https://kde.org/applications/utilities/krename/"; + license = with lib.licenses; [ + bsd3 + cc0 + gpl2Plus + ]; + maintainers = with lib.maintainers; [ + peterhoeg + kuflierl + ]; + inherit (kdePackages.qtbase.meta) platforms; + }; +}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 144b0358b1c7..637ceef508b2 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1261,7 +1261,6 @@ mapAliases { kramdown-rfc2629 = throw "'kramdown-rfc2629' has been renamed to/replaced by 'rubyPackages.kramdown-rfc2629'"; # Converted to throw 2024-10-17 krb5Full = krb5; kreative-square-fonts = throw "'kreative-square-fonts' has been renamed to 'kreative-square'"; # Added 2025-04-16 - krename = throw "'krename' has been removed, as it is unmaintained upstream"; # Added 2025-08-30 krita-beta = throw "'krita-beta' has been renamed to/replaced by 'krita'"; # Converted to throw 2024-10-17 krun = throw "'krun' has been renamed to/replaced by 'muvm'"; # Added 2025-05-01 krunner-pass = throw "'krunner-pass' has been removed, as it only works on Plasma 5"; # Added 2025-08-30