2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libxml2, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
2018-09-17 10:09:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-07 04:22:44 +02:00
|
|
|
pname = "sierra-gtk-theme";
|
2019-12-16 16:39:05 +01:00
|
|
|
version = "2019-12-16";
|
2018-09-17 10:09:34 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
2019-05-07 04:22:44 +02:00
|
|
|
repo = pname;
|
2018-10-01 17:22:53 +02:00
|
|
|
rev = version;
|
2019-12-16 16:39:05 +01:00
|
|
|
sha256 = "14hlz8kbrjypyd6wyrwmnj2wm9w3kc8y00ms35ard7x8lmhs56hr";
|
2018-09-17 10:09:34 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ libxml2 ];
|
|
|
|
|
2019-05-22 13:03:39 +02:00
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
2018-09-17 10:09:34 +02:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
name= ./install.sh --dest $out/share/themes
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-09-17 10:09:34 +02:00
|
|
|
description = "A Mac OSX like theme for GTK based desktop environments";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/vinceliuice/Sierra-gtk-theme";
|
2018-09-17 10:09:34 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|