1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/data/icons/iconpack-obsidian/default.nix

39 lines
1 KiB
Nix
Raw Normal View History

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