Merge pull request #62327 from tadfisher/plata-theme

plata-theme: 0.8.0 -> 0.8.3
This commit is contained in:
Franz Pletz 2019-05-31 23:08:37 +00:00 committed by GitHub
commit d6b10a59d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,31 +3,30 @@
, cinnamonSupport ? true , cinnamonSupport ? true
, gnomeFlashbackSupport ? true , gnomeFlashbackSupport ? true
, gnomeShellSupport ? true , gnomeShellSupport ? true
, mateSupport ? true
, openboxSupport ? true , openboxSupport ? true
, xfceSupport ? true , xfceSupport ? true
, gtkNextSupport ? false , gtkNextSupport ? false
, plankSupport ? false , plankSupport ? false
, steamSupport ? false , steamSupport ? false
, telegramSupport ? false , telegramSupport ? false, zip ? null
, tweetdeckSupport ? false, zip ? null , tweetdeckSupport ? false
, selectionColor ? null # Primary color for 'selected-items' (Default: #3F51B5 = Indigo500) , selectionColor ? null # Primary color for 'selected-items' (Default: #3F51B5 = Indigo500)
, accentColor ? null # Secondary color for notifications and OSDs (Default: #7986CB = Indigo300) , accentColor ? null # Secondary color for notifications and OSDs (Default: #7986CB = Indigo300)
, suggestionColor ? null # Secondary color for 'suggested' buttons (Default: #673AB7 = DPurple500) , suggestionColor ? null # Secondary color for 'suggested' buttons (Default: #673AB7 = DPurple500)
, destructionColor ? null # Tertiary color for 'destructive' buttons (Default: #F44336 = Red500) , destructionColor ? null # Tertiary color for 'destructive' buttons (Default: #F44336 = Red500)
}: }:
assert tweetdeckSupport -> zip != null; assert telegramSupport -> zip != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "plata-theme-${version}"; pname = "plata-theme";
version = "0.8.0"; version = "0.8.3";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "tista500"; owner = "tista500";
repo = "plata-theme"; repo = "plata-theme";
rev = version; rev = version;
sha256 = "10xvfrc945zqlgzlx8zjyg0gnkwmq9vfjk0yqjy3gg62i65s8sch"; sha256 = "0ibgymdrw91lnng76lb0x55zg6nm9f2vap19wk7qsq3bcw6ny2zi";
}; };
preferLocalBuild = true; preferLocalBuild = true;
@ -41,7 +40,7 @@ stdenv.mkDerivation rec {
libxml2 libxml2
gnome2.glib.dev gnome2.glib.dev
] ]
++ stdenv.lib.optional tweetdeckSupport zip; ++ stdenv.lib.optional telegramSupport zip;
buildInputs = [ buildInputs = [
gdk_pixbuf gdk_pixbuf
@ -61,7 +60,6 @@ stdenv.mkDerivation rec {
(enableFeature cinnamonSupport "cinnamon") (enableFeature cinnamonSupport "cinnamon")
(enableFeature gnomeFlashbackSupport "flashback") (enableFeature gnomeFlashbackSupport "flashback")
(enableFeature gnomeShellSupport "gnome") (enableFeature gnomeShellSupport "gnome")
(enableFeature mateSupport "mate")
(enableFeature openboxSupport "openbox") (enableFeature openboxSupport "openbox")
(enableFeature xfceSupport "xfce") (enableFeature xfceSupport "xfce")
(enableFeature gtkNextSupport "gtk_next") (enableFeature gtkNextSupport "gtk_next")