1 { lib, stdenv, fetchFromGitHub, makeWrapper, coreutils, gawk }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-zDw8WGBzO4/HRCgN7yoUxT49ibTz+QkRa5WpBQbl1nI=";
14 nativeBuildInputs = [ makeWrapper ];
22 install -Dm755 bin/theme.sh $out/bin
23 wrapProgram $out/bin/theme.sh \
24 --prefix PATH : ${lib.makeBinPath [ coreutils gawk ]}
30 description = "Script which lets you set your $terminal theme";
31 homepage = "https://github.com/lemnos/theme.sh";
32 license = licenses.mit;
33 platforms = platforms.all;
34 maintainers = with maintainers; [ figsoda ];
35 mainProgram = "theme.sh";