2022-03-23 12:47:55 +01:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, gtk3, breeze-icons, pantheon, gnome-icon-theme, hicolor-icon-theme }:
|
2019-11-27 19:36:42 +01:00
|
|
|
|
2022-03-23 12:47:55 +01:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-11-27 19:36:42 +01:00
|
|
|
pname = "flat-remix-icon-theme";
|
2022-06-25 22:42:54 +02:00
|
|
|
version = "20220525";
|
2019-11-27 19:36:42 +01:00
|
|
|
|
2021-12-02 05:24:12 +01:00
|
|
|
src = fetchFromGitHub {
|
2019-11-27 19:36:42 +01:00
|
|
|
owner = "daniruiz";
|
|
|
|
repo = "flat-remix";
|
|
|
|
rev = version;
|
2022-06-25 22:42:54 +02:00
|
|
|
sha256 = "sha256-JpUa2nxZxrLTd80qdiGpob4Trq41ONthsPA4zFj/6nk=";
|
2019-11-27 19:36:42 +01:00
|
|
|
};
|
|
|
|
|
2020-04-18 01:56:28 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
breeze-icons
|
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
gnome-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2019-11-27 19:36:42 +01: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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-11-27 19:36:42 +01:00
|
|
|
description = "Flat remix is a pretty simple icon theme inspired on material design";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://drasite.com/flat-remix";
|
2022-03-23 12:47:55 +01:00
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
# breeze-icons and pantheon.elementary-icon-theme dependencies are restricted to linux
|
2019-11-27 19:36:42 +01:00
|
|
|
platforms = platforms.linux;
|
2022-06-23 01:26:18 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-11-27 19:36:42 +01:00
|
|
|
};
|
2020-04-18 01:56:28 +02:00
|
|
|
}
|