Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{
|
|
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;
|
|
};
|
|
})
|