2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, gtk3, gnome-icon-theme, mint-x-icons, hicolor-icon-theme }:
|
2018-05-03 20:45:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "iconpack-obsidian";
|
2021-02-11 20:16:43 +01:00
|
|
|
version = "4.15";
|
2018-05-03 20:45:57 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "madmaxms";
|
2019-11-02 13:52:01 +01:00
|
|
|
repo = pname;
|
2018-05-03 20:45:57 +02:00
|
|
|
rev = "v${version}";
|
2021-02-11 20:16:43 +01:00
|
|
|
sha256 = "1f32isq1xyn9b6p1nx5rssqgg9gw0jp9ld19860xk29fspmlfb8n";
|
2018-05-03 20:45:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
2020-08-30 21:15:37 +02:00
|
|
|
propagatedBuildInputs = [ gnome-icon-theme mint-x-icons hicolor-icon-theme ];
|
|
|
|
# still missing parent themes: Ambiant-MATE, Faenza-Dark, KFaenza
|
2019-09-12 16:47:48 +02:00
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2018-05-03 20:45:57 +02:00
|
|
|
installPhase = ''
|
2020-04-18 01:55:03 +02:00
|
|
|
mkdir -p $out/share/icons
|
|
|
|
mv Obsidian* $out/share/icons
|
2018-05-03 20:45:57 +02:00
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-01-20 13:44:43 +01:00
|
|
|
description = "Gnome icon pack based upon Faenza";
|
|
|
|
homepage = "https://github.com/madmaxms/iconpack-obsidian";
|
2021-02-11 20:16:43 +01:00
|
|
|
license = licenses.gpl3Only;
|
2018-05-07 15:07:54 +02:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2018-05-03 20:45:57 +02:00
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|