Created
February 27, 2021 16:24
-
-
Save fufexan/edb2aa0cec10ef8706e428091eaec43a to your computer and use it in GitHub Desktop.
Orchis theme sassc problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, stdenv, fetchFromGitHub, gtk3, gnome-themes-extra, gtk-engine-murrine | |
, sassc | |
, accentColor ? "default" }: | |
stdenv.mkDerivation rec { | |
pname = "orchis"; | |
version = "2021-01-22"; | |
src = fetchFromGitHub { | |
repo = "Orchis-theme"; | |
owner = "vinceliuice"; | |
rev = version; | |
sha256 = "1m0wilvrscg2xnkp6a90j0iccxd8ywvfpza1345sc6xmml9gvjzc"; | |
}; | |
nativeBuildInputs = [ gtk3 sassc ]; | |
buildInputs = [ gnome-themes-extra sassc ]; | |
propagatedUserEnvPkgs = [ gtk-engine-murrine ]; | |
dontPatch = true; | |
dontConfigure = true; | |
dontBuild = true; | |
preInstall = '' | |
mkdir -p $out/share/themes | |
bash parse-sass.sh | |
''; | |
installPhase = '' | |
runHook preInstall | |
bash install.sh -d $out/share/themes -t ${accentColor} | |
runHook postInstall | |
''; | |
meta = with lib; { | |
description = "A Material Design theme for GNOME/GTK based desktop environments."; | |
homepage = "https://github.com/vinceliuice/Orchis-theme"; | |
license = licenses.gpl3Plus; | |
platforms = platforms.linux; | |
maintainers = [ maintainers.fufexan ]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment