mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
35 lines
931 B
Nix
35 lines
931 B
Nix
{ lib, stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qogir-theme";
|
|
version = "2021-06-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vinceliuice";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "178lk0zffm4nd8fc872rfpm2aii1nszq0k389gkiyxkqphmknn4n";
|
|
};
|
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
installPhase = ''
|
|
patchShebangs .
|
|
mkdir -p $out/share/themes
|
|
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; {
|
|
description = "Flat Design theme for GTK based desktop environments";
|
|
homepage = "https://vinceliuice.github.io/Qogir-theme";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|