deco: fix build (#426954)

This commit is contained in:
h7x4
2025-10-02 01:23:36 +00:00
committed by GitHub
2 changed files with 17 additions and 12 deletions
+14 -12
View File
@@ -5,17 +5,18 @@
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 = ''
@@ -25,17 +26,18 @@ stdenv.mkDerivation {
'';
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
View File
@@ -31,6 +31,9 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ scheme48 ];
configureFlags = [ "--with-scheme48=${scheme48}" ];
makeFlags = [
"SCHEME48VERSION=${scheme48.version}"
];
passthru.updateScript = unstableGitUpdater { };