43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{ lib, stdenvNoCC, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme, faba-icon-theme, gnome-icon-theme, hicolor-icon-theme }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "faba-mono-icons";
|
|
version = "2016-04-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "snwh";
|
|
repo = pname;
|
|
rev = "2006c5281eb988c799068734f289a85443800cda";
|
|
sha256 = "0nisfl92y6hrbakp9qxi0ygayl6avkzrhwirg6854bwqjy2dvjv9";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gtk3
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
moka-icon-theme
|
|
faba-icon-theme
|
|
gnome-icon-theme
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
postInstall = ''
|
|
for theme in $out/share/icons/*; do
|
|
gtk-update-icon-cache $theme
|
|
done
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Full set of Faba monochrome panel icons";
|
|
homepage = "https://snwh.org/moka";
|
|
license = licenses.gpl3;
|
|
# moka-icon-theme dependency is restricted to linux
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|