deco: fix build (#426954)

h7x4 02071814 2d1799ff

Changed files
+17 -12
pkgs
by-name
de
sc
+14 -12
pkgs/by-name/de/deco/package.nix
···
scsh,
feh,
xorg,
+
xdg-user-dirs,
}:
stdenv.mkDerivation {
pname = "deco";
-
version = "unstable-2019-04-03";
+
version = "0-unstable-2025-07-07";
src = fetchFromGitHub {
-
owner = "ebzzry";
+
owner = "vedatechnologiesinc";
repo = "deco";
-
rev = "dd8ec7905bc85d085eb2ee3bddabea451054288c";
-
sha256 = "sha256-/3GeNvWOCRPOYTUbodXDUxR5QVDEyx6x2Jt5PxsPdvk=";
+
rev = "2fd28241ed28c07b9d641061d4e1bf3cacfcc7a0";
+
hash = "sha256-kjXEvgYO1p/dX9nXQ3HHcXmJdtxDM6xzKqDQu3yM4Tw=";
};
installPhase = ''
···
'';
postFixup = ''
-
substituteInPlace $out/bin/deco --replace "/usr/bin/env scsh" "${scsh}/bin/scsh"
-
substituteInPlace $out/bin/deco --replace "feh" "${feh}/bin/feh"
-
substituteInPlace $out/bin/deco --replace "xdpyinfo" "${xorg.xdpyinfo}/bin/xdpyinfo"
+
substituteInPlace $out/bin/deco --replace-fail "/usr/bin/env scsh" "${scsh}/bin/scsh"
+
substituteInPlace $out/bin/deco --replace-fail "feh" "${feh}/bin/feh"
+
substituteInPlace $out/bin/deco --replace-fail "xdpyinfo" "${xorg.xdpyinfo}/bin/xdpyinfo"
+
substituteInPlace $out/bin/deco --replace-fail "xdg-user-dir" "${xdg-user-dirs}/bin/xdg-user-dir"
'';
-
meta = with lib; {
-
homepage = "https://github.com/ebzzry/deco";
+
meta = {
+
homepage = "https://github.com/vedatechnologiesinc/deco";
description = "Simple root image setter";
-
license = licenses.mit;
-
maintainers = [ maintainers.ebzzry ];
-
platforms = platforms.unix;
+
license = lib.licenses.mit;
+
maintainers = [ lib.maintainers.ebzzry ];
+
platforms = lib.platforms.unix;
mainProgram = "deco";
};
+3
pkgs/by-name/sc/scsh/package.nix
···
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ scheme48 ];
configureFlags = [ "--with-scheme48=${scheme48}" ];
+
makeFlags = [
+
"SCHEME48VERSION=${scheme48.version}"
+
];
passthru.updateScript = unstableGitUpdater { };