Merge master into staging-next
This commit is contained in:
28
pkgs/data/themes/adapta-kde/default.nix
Normal file
28
pkgs/data/themes/adapta-kde/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "adapta-kde-theme";
|
||||
version = "20180828";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PapirusDevelopmentTeam";
|
||||
repo = "adapta-kde";
|
||||
rev = version;
|
||||
sha256 = "1q85678sff8is2kwvgd703ckcns42gdga2c1rqlp61gb6bqf09j8";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# Make this a fixed-output derivation
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
ouputHash = "0rxhk8sp81vb2mngqr7kn9vlqyliq9aqj2d25igcr01v5axbxbzb";
|
||||
|
||||
meta = {
|
||||
description = "A port of the Adapta theme for Plasma";
|
||||
homepage = https://git.io/adapta-kde;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.tadfisher ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
49
pkgs/data/themes/adapta/default.nix
Normal file
49
pkgs/data/themes/adapta/default.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, parallel, sassc, inkscape, libxml2, glib, gdk-pixbuf, librsvg, gtk-engine-murrine, gnome3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "adapta-gtk-theme";
|
||||
version = "3.95.0.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adapta-project";
|
||||
repo = "adapta-gtk-theme";
|
||||
rev = version;
|
||||
sha256 = "19skrhp10xx07hbd0lr3d619vj2im35d8p9rmb4v4zacci804q04";
|
||||
};
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkgconfig
|
||||
parallel
|
||||
sassc
|
||||
inkscape
|
||||
libxml2
|
||||
glib.dev
|
||||
gnome3.gnome-shell
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdk-pixbuf
|
||||
librsvg
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
|
||||
configureFlags = [
|
||||
"--disable-gtk_legacy"
|
||||
"--disable-gtk_next"
|
||||
"--disable-unity"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An adaptive GTK theme based on Material Design Guidelines";
|
||||
homepage = https://github.com/adapta-project/adapta-gtk-theme;
|
||||
license = with licenses; [ gpl2 cc-by-sa-30 ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
36
pkgs/data/themes/adwaita-qt/default.nix
Normal file
36
pkgs/data/themes/adwaita-qt/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ mkDerivation, lib, fetchFromGitHub, cmake, ninja, qtbase }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "adwaita-qt";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FedoraQt";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1z1zl6b1190nffcdyjnwz2xy4s6cvgd98aas9z71l5iddwzy32fm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix plugin dir
|
||||
substituteInPlace style/CMakeLists.txt \
|
||||
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A style to bend Qt applications to look like they belong into GNOME Shell";
|
||||
homepage = https://github.com/FedoraQt/adwaita-qt;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ worldofpeace ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
27
pkgs/data/themes/albatross/default.nix
Normal file
27
pkgs/data/themes/albatross/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Albatross";
|
||||
version = "1.7.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "Albatross";
|
||||
owner = "shimmerproject";
|
||||
rev = "v${version}";
|
||||
sha256 = "0mq87n2hxy44nzr567av24n5nqjaljhi1afxrn3mpjqdbkq7lx88";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -dm 755 $out/share/themes/Albatross
|
||||
cp -dr --no-preserve='ownership' {LICENSE.GPL,README,index.theme,gtk-2.0,gtk-3.0,metacity-1,xfwm4} $out/share/themes/Albatross/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A desktop Suite for Xfce";
|
||||
homepage = https://github.com/shimmerproject/Albatross;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
28
pkgs/data/themes/arc-kde/default.nix
Normal file
28
pkgs/data/themes/arc-kde/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "arc-kde-theme";
|
||||
version = "20180614";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PapirusDevelopmentTeam";
|
||||
repo = "arc-kde";
|
||||
rev = version;
|
||||
sha256 = "0wli16k9my7m8a9561545vjwfifmxm4w606z1h0j08msvlky40xw";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# Make this a fixed-output derivation
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
ouputHash = "2c2def57092a399aa1c450699cbb8639f47d751157b18db17";
|
||||
|
||||
meta = {
|
||||
description = "A port of the arc theme for Plasma";
|
||||
homepage = https://git.io/arc-kde;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.nixy ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
25
pkgs/data/themes/blackbird/default.nix
Normal file
25
pkgs/data/themes/blackbird/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Blackbird";
|
||||
version = "2017-12-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "shimmerproject";
|
||||
rev = "a1c5674c0ec38b4cc8ba41d2c0e6187987ae7eb4";
|
||||
sha256 = "0xskcw36ci2ykra5gir5pkrawh2qkcv18p4fp2kxivssbd20d4jw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
meta = {
|
||||
description = "Dark Desktop Suite for Gtk, Xfce and Metacity";
|
||||
homepage = https://github.com/shimmerproject/Blackbird;
|
||||
license = with stdenv.lib.licenses; [ gpl2Plus cc-by-nc-sa-30 ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
33
pkgs/data/themes/clearlooks-phenix/default.nix
Normal file
33
pkgs/data/themes/clearlooks-phenix/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.0.1";
|
||||
pname = "clearlooks-phenix";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/jpfleury/clearlooks-phenix/archive/${version}.tar.gz";
|
||||
sha256 = "1b6y4l3rf3c5r4v72fyj3ppvnvw13kvr2a1dyl63ni1jxnlk50kd";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/themes/Clearlooks-Phenix
|
||||
cp -r . $out/share/themes/Clearlooks-Phenix/
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GTK3 port of the Clearlooks theme";
|
||||
longDescription = ''
|
||||
The Clearlooks-Phénix project aims at creating a GTK3 port of Clearlooks,
|
||||
the default theme for Gnome 2. Style is also included for GTK2, Unity and
|
||||
for Metacity, Openbox and Xfwm4 window managers.
|
||||
'';
|
||||
homepage = https://github.com/jpfleury/clearlooks-phenix;
|
||||
downloadPage = https://github.com/jpfleury/clearlooks-phenix/releases;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.prikhi ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
27
pkgs/data/themes/e17gtk/default.nix
Normal file
27
pkgs/data/themes/e17gtk/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "e17gtk";
|
||||
version = "3.22.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tsujan";
|
||||
repo = "E17gtk";
|
||||
rev = "V${version}";
|
||||
sha256 = "1qwj1hmdlk8sdqhkrh60p2xg4av1rl0lmipdg5j0i40318pmiml1";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/{doc,themes}/E17gtk
|
||||
cp -va index.theme gtk-2.0 gtk-3.0 metacity-1 $out/share/themes/E17gtk/
|
||||
cp -va README.md WORKAROUNDS screenshot.jpg $out/share/doc/E17gtk/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An Enlightenment-like GTK theme with sharp corners";
|
||||
homepage = https://github.com/tsujan/E17gtk;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
39
pkgs/data/themes/equilux-theme/default.nix
Normal file
39
pkgs/data/themes/equilux-theme/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchFromGitHub, gnome3, glib, libxml2, gtk-engine-murrine, gdk-pixbuf, librsvg, bc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "equilux-theme";
|
||||
version = "20181029";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ddnexus";
|
||||
repo = "equilux-theme";
|
||||
rev = "equilux-v${version}";
|
||||
sha256 = "0lv2yyxhnmnkwxp576wnb01id4fp734b5z5n0l67sg5z7vc2h8fc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ glib libxml2 bc ];
|
||||
|
||||
buildInputs = [ gnome3.gnome-themes-extra gdk-pixbuf librsvg ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
patchShebangs install.sh
|
||||
sed -i install.sh \
|
||||
-e "s|if .*which gnome-shell.*;|if true;|" \
|
||||
-e "s|CURRENT_GS_VERSION=.*$|CURRENT_GS_VERSION=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}|"
|
||||
mkdir -p $out/share/themes
|
||||
./install.sh --dest $out/share/themes
|
||||
rm $out/share/themes/*/COPYING
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A Material Design theme for GNOME/GTK based desktop environments";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.fpletz ];
|
||||
};
|
||||
}
|
||||
25
pkgs/data/themes/gnome-breeze/default.nix
Normal file
25
pkgs/data/themes/gnome-breeze/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnome-breeze-20160526";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/dirruk1/gnome-breeze";
|
||||
sha256 = "0hkk0gqlnrs1m4rb5r84f5y96qfamrbiwm09z89yc32124x1a1lm";
|
||||
rev = "49a5cd67a270e13a4c04a4b904f126ef728e9221";
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/themes
|
||||
cp -r Breeze* $out/share/themes
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = {
|
||||
description = "A GTK theme built to match KDE's breeze theme";
|
||||
homepage = https://github.com/dirruk1/gnome-breeze;
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
}
|
||||
30
pkgs/data/themes/kde2/default.nix
Normal file
30
pkgs/data/themes/kde2/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ lib, fetchFromGitHub, mkDerivation
|
||||
, cmake, extra-cmake-modules
|
||||
, qtbase, kcoreaddons, kdecoration
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "kde2-decoration";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "repos-holder";
|
||||
repo = "kdecoration2-kde2";
|
||||
rev = version;
|
||||
sha256 = "1766z9wscybcqvr828xih93b3rab3hb0ghsf818iflhp1xy0js08";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
|
||||
buildInputs = [ qtbase kcoreaddons kdecoration ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "KDE 2 window decoration ported to Plasma 5";
|
||||
homepage = "https://github.com/repos-holder/kdecoration2-kde2";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ gnidorah ];
|
||||
};
|
||||
}
|
||||
49
pkgs/data/themes/numix-solarized/default.nix
Normal file
49
pkgs/data/themes/numix-solarized/default.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ stdenv, fetchFromGitHub, python3, sass, glib, gdk-pixbuf, libxml2,
|
||||
inkscape, optipng, gtk-engine-murrine
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20180913";
|
||||
pname = "numix-solarized-gtk-theme";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ferdi265";
|
||||
repo = "numix-solarized-gtk-theme";
|
||||
rev = version;
|
||||
sha256 = "1kda0lyqi3cxh163fbj8yyi6jj6pf0y980k4s0cmyi3hkh4cqyd5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3 sass glib gdk-pixbuf libxml2 inkscape optipng ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
|
||||
substituteInPlace scripts/render-assets.sh \
|
||||
--replace /usr/bin/inkscape ${inkscape}/bin/inkscape \
|
||||
--replace /usr/bin/optipng ${optipng}/bin/optipng
|
||||
'';
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
for theme in *.colors; do
|
||||
make THEME="''${theme/.colors/}" install
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Solarized versions of Numix GTK2 and GTK3 theme";
|
||||
longDescription = ''
|
||||
This is a fork of the Numix GTK theme that replaces the colors of the theme
|
||||
and icons to use the solarized theme with a solarized green accent color.
|
||||
This theme supports both the dark and light theme, just as Numix proper.
|
||||
'';
|
||||
homepage = https://github.com/Ferdi265/numix-solarized-gtk-theme;
|
||||
downloadPage = https://github.com/Ferdi265/numix-solarized-gtk-theme/releases;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.offline ];
|
||||
};
|
||||
}
|
||||
30
pkgs/data/themes/numix-sx/default.nix
Normal file
30
pkgs/data/themes/numix-sx/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "2017-04-24";
|
||||
pname = "numix-sx-gtk-theme";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.opendesktop.org/api/files/download/id/1493077417/Numix-SX.tar.xz";
|
||||
sha256 = "7e1983924b2d90e89eddb3da8f4c43dc1326fe138fd191c8212c7904dcd618b0";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
install -dm 755 "$out/share/themes/"
|
||||
cp -dr --no-preserve='ownership' Numix-SX-{Dark,FullDark,Light} "$out/share/themes/"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Gray variation of Numix theme";
|
||||
homepage = https://www.gnome-look.org/p/1117412/;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.sauyon ];
|
||||
};
|
||||
}
|
||||
32
pkgs/data/themes/numix/default.nix
Normal file
32
pkgs/data/themes/numix/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk-pixbuf
|
||||
, gtk-engine-murrine
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.6.7";
|
||||
pname = "numix-gtk-theme";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "numix-gtk-theme";
|
||||
owner = "numixproject";
|
||||
rev = version;
|
||||
sha256 = "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ sass glib libxml2 gdk-pixbuf ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
|
||||
homepage = https://numixproject.github.io;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
39
pkgs/data/themes/onestepback/default.nix
Normal file
39
pkgs/data/themes/onestepback/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "onestepback";
|
||||
version = "0.991";
|
||||
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "http://www.vide.memoire.free.fr/perso/OneStepBack/OneStepBack-v${version}.zip";
|
||||
sha256 = "1jfgcgzbb6ra9qs3zcp6ij0hfldzg3m0yjw6l6vf4kq1mdby1ghm";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://www.vide.memoire.free.fr/perso/OneStepBack/OneStepBack-grey-brown-green-blue-v${version}.zip";
|
||||
sha256 = "0i006h1asbpfdzajws0dvk9acplvcympzgxq5v3n8hmizd6yyh77";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://www.vide.memoire.free.fr/perso/OneStepBack/OneStepBack-green-brown-v${version}.zip";
|
||||
sha256 = "16p002lak6425gcskny4hzws8x9dgsm6j3a1r08y11rsz7d2hnmy";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/themes
|
||||
cp -a OneStepBack* $out/share/themes/
|
||||
rm $out/share/themes/*/{LICENSE,README*}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gtk theme inspired by the NextStep look";
|
||||
homepage = http://www.vide.memoire.free.fr/perso/OneStepBack;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
24
pkgs/data/themes/orion/default.nix
Normal file
24
pkgs/data/themes/orion/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchgit, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "orion-1.5";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/shimmerproject/Orion.git";
|
||||
rev = "refs/tags/v1.5";
|
||||
sha256 = "1116yawv3fspkiq1ykk2wj0gza3l04b5nhldy0bayzjaj0y6fd89";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/themes/orion
|
||||
cp -r gtk-2.0 gtk-3.0 metacity-1 openbox-3 xfwm4 $out/share/themes/orion
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/shimmerproject/Orion;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
31
pkgs/data/themes/paper-gtk/default.nix
Normal file
31
pkgs/data/themes/paper-gtk/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, gtk_engines }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "2016-08-16";
|
||||
pname = "paper-gtk-theme";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "snwh";
|
||||
repo = "paper-gtk-theme";
|
||||
rev = "f75724fd76fd2e5681a367cca246a51f845320c3";
|
||||
sha256 = "0dqllzjk9ggnbh8vvy2c81p3wq6cj73r30hk7gqhrn8i91w8p896";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ gtk_engines ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A modern desktop theme suite featuring a mostly flat with a minimal use of shadows for depth";
|
||||
homepage = https://snwh.org/paper;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.simonvandel maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
52
pkgs/data/themes/qtcurve/default.nix
Normal file
52
pkgs/data/themes/qtcurve/default.nix
Normal file
@@ -0,0 +1,52 @@
|
||||
{ stdenv, fetchurl, cmake, extra-cmake-modules, pkgconfig, mkDerivation
|
||||
, gtk2, qtbase, qtsvg, qtx11extras # Toolkit dependencies
|
||||
, karchive, kconfig, kconfigwidgets, kio, frameworkintegration
|
||||
, kguiaddons, ki18n, kwindowsystem, kdelibs4support, kiconthemes
|
||||
, libpthreadstubs, pcre, libXdmcp, libX11, libXau # X11 dependencies
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.9";
|
||||
in mkDerivation {
|
||||
pname = "qtcurve";
|
||||
inherit version;
|
||||
src = fetchurl {
|
||||
url = "https://download.kde.org/stable/qtcurve/qtcurve-${version}.tar.xz";
|
||||
sha256 = "169gdny1cdld0qnx3nqvx568zjzdba4pwp3gxapc1hdh2cymw7r8";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];
|
||||
|
||||
buildInputs = [
|
||||
gtk2
|
||||
qtbase qtsvg qtx11extras
|
||||
karchive kconfig kconfigwidgets kio kiconthemes kguiaddons ki18n
|
||||
kwindowsystem kdelibs4support frameworkintegration
|
||||
libpthreadstubs
|
||||
pcre
|
||||
libXdmcp libX11 libXau
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
for i in qt5/CMakeLists.txt qt5/config/CMakeLists.txt
|
||||
do
|
||||
substituteInPlace $i \
|
||||
--replace "{_Qt5_PLUGIN_INSTALL_DIR}" "{KDE_INSTALL_QTPLUGINDIR}"
|
||||
done
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace \$\{GTK2_PREFIX\} $out
|
||||
substituteInPlace gtk2/style/CMakeLists.txt \
|
||||
--replace \$\{GTK2_LIBDIR\} $out/lib
|
||||
patchShebangs tools/gen-version.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/QtCurve/qtcurve;
|
||||
description = "Widget styles for Qt5/Plasma 5 and gtk2";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = [ maintainers.gnidorah ];
|
||||
};
|
||||
}
|
||||
31
pkgs/data/themes/solarc/default.nix
Normal file
31
pkgs/data/themes/solarc/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig,
|
||||
gtk-engine-murrine, gtk3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "solarc-gtk-theme";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "schemar";
|
||||
repo = "solarc-theme";
|
||||
rev = "d1eb117325b8e5085ecaf78df2eb2413423fc643";
|
||||
sha256 = "005b66whyxba3403yzykpnlkz0q4m154pxpb4jzcny3fggy9r70s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake pkgconfig gtk3 ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine gtk3 ];
|
||||
|
||||
buildPhase = ''
|
||||
./autogen.sh --prefix=$out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Solarized version of the Arc theme";
|
||||
homepage = https://github.com/schemar/solarc-theme;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.bricewge ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
37
pkgs/data/themes/vertex/default.nix
Normal file
37
pkgs/data/themes/vertex/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "theme-vertex";
|
||||
version = "20170128";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "horst3180";
|
||||
repo = "vertex-theme";
|
||||
rev = version;
|
||||
sha256 = "0c9mhrs95ahz37djrv176vn41ywvj26ilwmnr1h9171giv6hid98";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
configureFlags = [ "--disable-unity" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/plank/themes
|
||||
cp -r extra/*-Plank $out/share/plank/themes
|
||||
|
||||
mkdir -p $out/share/doc/$pname/Chrome
|
||||
cp -r extra/Chrome/*.crx $out/share/doc/$pname/Chrome
|
||||
cp -r extra/Firefox $out/share/doc/$pname
|
||||
cp AUTHORS README.md $out/share/doc/$pname/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ rycee romildo ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user