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

55 lines
1.1 KiB
Nix
Raw Normal View History

2021-11-17 19:42:50 +00:00
{ lib
, stdenv
, fetchFromGitHub
, gdk-pixbuf
, gnome-themes-extra
, gtk-engine-murrine
, librsvg
, sassc
, which
}:
stdenv.mkDerivation rec {
pname = "qogir-theme";
2021-12-27 16:01:34 +00:00
version = "2021-12-25";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
2021-12-27 16:01:34 +00:00
sha256 = "1h10yqz3i59bxhkk2r2p8as8g9ibx38bbpdxi7jgg2pxr581mn4f";
};
2021-11-17 19:42:50 +00:00
nativeBuildInputs = [
sassc
which
];
2021-11-17 19:42:50 +00:00
buildInputs = [
gdk-pixbuf # pixbuf engine for Gtk2
gnome-themes-extra # adwaita engine for Gtk2
librsvg # pixbuf loader for svg
];
propagatedUserEnvPkgs = [
gtk-engine-murrine # murrine engine for Gtk2
];
installPhase = ''
patchShebangs .
mkdir -p $out/share/themes
2021-11-17 19:42:50 +00:00
name= ./install.sh -t all -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 10:56:33 +00: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;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}