1 { lib, stdenv, fetchFromGitHub, scsh, feh, xorg }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2019-04-03";
7 src = fetchFromGitHub {
10 rev = "dd8ec7905bc85d085eb2ee3bddabea451054288c";
11 sha256 = "sha256-/3GeNvWOCRPOYTUbodXDUxR5QVDEyx6x2Jt5PxsPdvk=";
17 chmod +x $out/bin/${pname}
21 substituteInPlace $out/bin/deco --replace "/usr/bin/env scsh" "${scsh}/bin/scsh"
22 substituteInPlace $out/bin/deco --replace "feh" "${feh}/bin/feh"
23 substituteInPlace $out/bin/deco --replace "xdpyinfo" "${xorg.xdpyinfo}/bin/xdpyinfo"
27 homepage = "https://github.com/ebzzry/deco";
28 description = "Simple root image setter";
29 license = licenses.mit;
30 maintainers = [ maintainers.ebzzry ];
31 platforms = platforms.unix;