1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

faba-mono-icons: build GTK icon cache

This commit is contained in:
Yegor Timoshenko 2018-02-24 11:12:20 +00:00
parent ede5f2cbfa
commit c087641f64

View file

@ -1,25 +1,29 @@
{ stdenv, fetchFromGitHub, autoreconfHook, moka-icon-theme }:
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme }:
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
package-name = "faba-mono-icons";
name = "${pname}-${version}";
pname = "faba-mono-icons";
version = "2016-04-30";
src = fetchFromGitHub {
owner = "snwh";
repo = package-name;
repo = pname;
rev = "2006c5281eb988c799068734f289a85443800cda";
sha256 = "0nisfl92y6hrbakp9qxi0ygayl6avkzrhwirg6854bwqjy2dvjv9";
};
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [ autoreconfHook gtk3 moka-icon-theme ];
buildInputs = [ moka-icon-theme ];
postFixup = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with stdenv.lib; {
description = "The full set of Faba monochrome panel icons";
homepage = https://snwh.org/moka;
license = with licenses; [ gpl3 ];
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ romildo ];
};