{ lib, stdenvNoCC, fetchgit, ... }: stdenvNoCC.mkDerivation rec { pname = "openbox-blocks-dark"; version = "1.0.0"; src = fetchgit { url = "https://git.syndamia.com/conf/openbox-blocks-dark"; rev = "d9e87f8c4494f1768d61c3f46ecfb136b6f168e4"; sha256 = "sha256-ASeTBTCcTrVgqy/6MYfyiBMh4/CW5z4epPpQPuzNwMw="; }; patchPhase = '' sed -i '/window.handle.width/{ s/0/4/ a\ window.*.handle.bg: Raised Solid a\ window.*.handle.bg.color: #3a4042 a\ window.*.grip.bg: Parentrelative }' ./Blocks-Dark/openbox-3/themerc ''; dontBuild = true; installPhase = '' mkdir -p $out/share/themes mv Blocks-Dark $out/share/themes ''; meta = with lib; { description = "A dark version of the \"Blocks\" theme found on github.com/addy-dclxvi/openbox-theme-collections"; homepage = "https://git.syndamia.com/conf/openbox-blocks-dark"; license = licenses.gpl3; platforms = platforms.linux; maintainers = with maintainers; [ syndamia ]; }; }