2022-03-30 09:31:56 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, gtk3, breeze-icons, pantheon, gnome-icon-theme, hicolor-icon-theme }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "flat-remix-icon-theme";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "20240201";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-04-24 23:36:52 +00:00
|
|
|
owner = "daniruiz";
|
|
|
|
repo = "flat-remix";
|
|
|
|
rev = version;
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-3TkBRgoT2AW0Sb0CrXdxh53/jYARAMFC/TIj/r/zruo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
breeze-icons
|
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
gnome-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
dontFixup = true;
|
2020-05-03 17:38:23 +00:00
|
|
|
dontDropIconThemeCache = true;
|
2020-04-24 23:36:52 +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
|
2024-06-05 15:53:02 +00:00
|
|
|
symlinkParentIconThemes
|
|
|
|
recordPropagatedDependencies
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Flat remix is a pretty simple icon theme inspired on material design";
|
|
|
|
homepage = "https://drasite.com/flat-remix";
|
2022-03-30 09:31:56 +00:00
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
# breeze-icons and pantheon.elementary-icon-theme dependencies are restricted to linux
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-05-03 17:38:23 +00:00
|
|
|
}
|