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