2018-02-24 12:12:20 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme }:
|
2016-06-10 15:26:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 12:12:20 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "faba-mono-icons";
|
2016-06-10 15:26:35 +02:00
|
|
|
version = "2016-04-30";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-10-14 12:40:42 +02:00
|
|
|
owner = "snwh";
|
2018-02-24 12:12:20 +01:00
|
|
|
repo = pname;
|
2016-06-10 15:26:35 +02:00
|
|
|
rev = "2006c5281eb988c799068734f289a85443800cda";
|
|
|
|
sha256 = "0nisfl92y6hrbakp9qxi0ygayl6avkzrhwirg6854bwqjy2dvjv9";
|
|
|
|
};
|
|
|
|
|
2018-02-24 12:12:20 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook gtk3 moka-icon-theme ];
|
2016-06-10 15:26:35 +02:00
|
|
|
|
2018-02-24 12:12:20 +01:00
|
|
|
postFixup = ''
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
2016-06-10 15:26:35 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The full set of Faba monochrome panel icons";
|
|
|
|
homepage = https://snwh.org/moka;
|
2018-02-24 12:12:20 +01:00
|
|
|
license = licenses.gpl3;
|
2018-07-02 22:32:30 +02:00
|
|
|
# moka-icon-theme dependency is restricted to linux
|
|
|
|
platforms = platforms.linux;
|
2016-06-10 15:26:35 +02:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|