1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/data/themes/qogir/default.nix

35 lines
929 B
Nix
Raw Normal View History

2019-05-22 12:03:39 +01:00
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "qogir-theme";
2020-02-26 11:26:28 +00:00
version = "2020-02-26";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
2020-02-26 11:26:28 +00:00
sha256 = "1s14knj0ral5a62ymwbg5k5g94v8cq0acq0kyam8ay0rfi7wycdm";
};
2019-05-22 12:03:39 +01:00
buildInputs = [ gdk-pixbuf librsvg ];
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
mkdir -p $out/share/doc/${pname}
cp -a src/firefox $out/share/doc/${pname}
rm $out/share/themes/*/{AUTHORS,COPYING}
'';
meta = with stdenv.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";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}