Skip to content

Instantly share code, notes, and snippets.

@Sorixelle
Created June 4, 2018 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sorixelle/2e58d4f9eeed9397461820cfbfd93598 to your computer and use it in GitHub Desktop.
Save Sorixelle/2e58d4f9eeed9397461820cfbfd93598 to your computer and use it in GitHub Desktop.
{ stdenv, fetchFromGitHub, pkgconfig, autoconf, gnome3, gtk-engine-murrine, inkscape, optipng,
color ? "DC143C"
}:
let
gnomeVersion = if stdenv.lib.versionOlder "3.22" gnome3.version then "3.22" else gnome3.version;
pname = "arc-theme-colora";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "2017-05-13";
inherit color;
src = fetchFromGitHub {
owner = "erikdubois";
repo = "Arc-Theme-Colora";
rev = "75c9ba36620c5e89113f35d00deb782bda74cca8";
sha256 = "122nwkdhjcp46hsg7iifpkg24xqgph941x6fi6i3znkg1rq6xmdl";
};
nativeBuildInputs = [ pkgconfig autoconf inkscape optipng ];
buildInputs = [ gnome3.gtk ];
propogatedUserEnvPkgs = [ gtk-engine-murrine ];
preferLocalBuild = true;
builder = ./builder.sh;
meta = with stdenv.lib; {
description = "Create a GTK theme based on horst3180's Arc with a custom accent color";
homepage = https://github.com/erikdubois/Arc-Theme-Colora;
platforms = platforms.unix;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment