2020-04-18 00:56:28 +01:00
|
|
|
{ stdenv, fetchFromGitHub , gtk3, breeze-icons, pantheon, gnome-icon-theme, hicolor-icon-theme }:
|
2019-11-27 18:36:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "flat-remix-icon-theme";
|
2020-04-03 07:59:10 +01:00
|
|
|
version = "20200116";
|
2019-11-27 18:36:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "daniruiz";
|
|
|
|
repo = "flat-remix";
|
|
|
|
rev = version;
|
2020-04-03 07:59:10 +01:00
|
|
|
sha256 = "14n5wydhd5ifmsbj770s2qg2ksd3xa3m61qxydid6jq39k0lxbd8";
|
2019-11-27 18:36:42 +00:00
|
|
|
};
|
|
|
|
|
2020-04-18 00:56:28 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
breeze-icons
|
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
gnome-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2019-11-27 18:36:42 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/icons
|
|
|
|
mv Flat-Remix* $out/share/icons/
|
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Flat remix is a pretty simple icon theme inspired on material design";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://drasite.com/flat-remix";
|
2019-11-27 18:36:42 +00:00
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ mschneider ];
|
|
|
|
};
|
2020-04-18 00:56:28 +01:00
|
|
|
}
|