2019-05-22 13:03:39 +02:00
|
|
|
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
2018-12-28 19:07:06 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qogir-theme";
|
2020-02-26 12:26:28 +01:00
|
|
|
version = "2020-02-26";
|
2018-12-28 19:07:06 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-02-26 12:26:28 +01:00
|
|
|
sha256 = "1s14knj0ral5a62ymwbg5k5g94v8cq0acq0kyam8ay0rfi7wycdm";
|
2018-12-28 19:07:06 +01:00
|
|
|
};
|
|
|
|
|
2019-05-22 13:03:39 +02:00
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
2018-12-28 19:07:06 +01:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
mkdir -p $out/share/themes
|
2019-08-31 23:54:22 +02:00
|
|
|
name= ./install.sh -d $out/share/themes
|
2020-02-26 12:27:38 +01:00
|
|
|
mkdir -p $out/share/doc/${pname}
|
|
|
|
cp -a src/firefox $out/share/doc/${pname}
|
|
|
|
rm $out/share/themes/*/{AUTHORS,COPYING}
|
2018-12-28 19:07:06 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-10-25 12:56:33 +02:00
|
|
|
description = "Flat Design theme for GTK based desktop environments";
|
2020-02-26 12:27:21 +01:00
|
|
|
homepage = "https://vinceliuice.github.io/Qogir-theme";
|
2018-12-28 19:07:06 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|