2024-03-19 01:41:24 +01:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "andromeda-gtk-theme";
|
2024-06-28 20:20:30 +02:00
|
|
|
version = "0-unstable-2024-06-24";
|
2024-03-19 01:41:24 +01:00
|
|
|
|
|
|
|
srcs = [
|
|
|
|
(fetchFromGitHub {
|
|
|
|
owner = "EliverLara";
|
|
|
|
repo = "Andromeda-gtk";
|
2024-06-28 20:20:30 +02:00
|
|
|
rev = "1d86d5cab146a1841bfe2e5c4f0a109b315cfd98";
|
|
|
|
hash = "sha256-YzmNo7WZjF/BLKgT2wJXk0ms8bb5AydFcfPzFmRrhkU=";
|
2024-03-20 12:39:26 +01:00
|
|
|
name = "Andromeda";
|
2024-03-19 01:41:24 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
(fetchFromGitHub {
|
|
|
|
owner = "EliverLara";
|
|
|
|
repo = "Andromeda-gtk";
|
2024-06-28 20:20:30 +02:00
|
|
|
rev = "7b0f5508269695054306eec10bd56ef5598ddf4a";
|
|
|
|
hash = "sha256-Bi5G3zs1bFYbOf74864eZHPUIJvBbByQNtDfqkNUSxo=";
|
2024-03-20 12:39:26 +01:00
|
|
|
name = "Andromeda-standard-buttons";
|
2024-03-19 01:41:24 +01:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
gtk-engine-murrine
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
cp -a Andromeda* $out/share/themes
|
|
|
|
|
|
|
|
# remove uneeded files, which are not distributed in https://www.gnome-look.org/p/2039961/
|
2024-03-20 12:46:42 +01:00
|
|
|
rm -rf $out/share/themes/*/.gitignore
|
2024-03-19 01:41:24 +01:00
|
|
|
rm -rf $out/share/themes/*/Art
|
|
|
|
rm -rf $out/share/themes/*/LICENSE
|
|
|
|
rm -rf $out/share/themes/*/README.md
|
|
|
|
rm -rf $out/share/themes/*/{package.json,package-lock.json,Gulpfile.js}
|
|
|
|
rm -rf $out/share/themes/*/src
|
|
|
|
rm -rf $out/share/themes/*/cinnamon/*.scss
|
|
|
|
rm -rf $out/share/themes/*/gnome-shell/{earlier-versions,extensions,*.scss}
|
|
|
|
rm -rf $out/share/themes/*/gtk-2.0/{assets.svg,assets.txt,links.fish,render-assets.sh}
|
|
|
|
rm -rf $out/share/themes/*/gtk-3.0/{apps,widgets,*.scss}
|
|
|
|
rm -rf $out/share/themes/*/gtk-4.0/{apps,widgets,*.scss}
|
|
|
|
rm -rf $out/share/themes/*/xfwm4/{assets,render_assets.fish}
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Elegant dark theme for gnome, mate, budgie, cinnamon, xfce";
|
|
|
|
homepage = "https://github.com/EliverLara/Andromeda-gtk";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.linux;
|
2024-06-29 12:07:28 +02:00
|
|
|
maintainers = with maintainers; [ jakedevs romildo ];
|
2024-03-19 01:41:24 +01:00
|
|
|
};
|
|
|
|
}
|