2022-07-02 00:04:21 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme, faba-icon-theme, gnome-icon-theme, hicolor-icon-theme }:
|
2016-06-10 13:26:35 +00:00
|
|
|
|
2022-07-02 00:04:21 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2018-02-24 11:12:20 +00:00
|
|
|
pname = "faba-mono-icons";
|
2016-06-10 13:26:35 +00:00
|
|
|
version = "2016-04-30";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-10-14 10:40:42 +00:00
|
|
|
owner = "snwh";
|
2018-02-24 11:12:20 +00:00
|
|
|
repo = pname;
|
2016-06-10 13:26:35 +00:00
|
|
|
rev = "2006c5281eb988c799068734f289a85443800cda";
|
|
|
|
sha256 = "0nisfl92y6hrbakp9qxi0ygayl6avkzrhwirg6854bwqjy2dvjv9";
|
|
|
|
};
|
|
|
|
|
2020-04-17 23:56:56 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
gtk3
|
|
|
|
];
|
2016-06-10 13:26:35 +00:00
|
|
|
|
2019-09-12 14:47:48 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-04-17 23:56:56 +00:00
|
|
|
moka-icon-theme
|
|
|
|
faba-icon-theme
|
|
|
|
gnome-icon-theme
|
2019-09-12 14:47:48 +00:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2020-04-17 23:56:56 +00:00
|
|
|
postInstall = ''
|
2018-02-24 11:12:20 +00:00
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
2016-06-10 13:26:35 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-10 13:26:35 +00:00
|
|
|
description = "The full set of Faba monochrome panel icons";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://snwh.org/moka";
|
2018-02-24 11:12:20 +00:00
|
|
|
license = licenses.gpl3;
|
2018-07-02 20:32:30 +00:00
|
|
|
# moka-icon-theme dependency is restricted to linux
|
|
|
|
platforms = platforms.linux;
|
2016-06-10 13:26:35 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|