nixpkgs-suyu/pkgs/data/themes/qogir/default.nix

35 lines
931 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "qogir-theme";
2021-06-25 20:17:36 +02:00
version = "2021-06-25";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
2021-06-25 20:17:36 +02:00
sha256 = "178lk0zffm4nd8fc872rfpm2aii1nszq0k389gkiyxkqphmknn4n";
};
2019-05-22 13:03:39 +02:00
buildInputs = [ gdk-pixbuf librsvg ];
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
mkdir -p $out/share/doc/${pname}
cp -a src/firefox $out/share/doc/${pname}
rm $out/share/themes/*/{AUTHORS,COPYING}
'';
meta = with 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";
2021-02-09 13:54:59 +01:00
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}