skeuowaita-icon-theme: init at unstable-2022-05-02

This commit is contained in:
Gabriel Arazas 2022-05-02 15:41:18 +08:00
parent 9cedbd2298
commit b4b2850dcf
2 changed files with 34 additions and 0 deletions

View File

@ -38,6 +38,7 @@ let
pop-launcher-plugin-duckduckgo-bangs =
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
#trex = callPackage ./trex.nix { };
skeuowaita-icon-theme = callPackage ./skeuowaita-icon-theme.nix { };
text-engine = callPackage ./text-engine.nix { };
tic-80 = callPackage ./tic-80 { };
segno = libsForQt5.callPackage ./segno.nix { };

View File

@ -0,0 +1,33 @@
{ stdenv, lib, fetchgit, gtk3, gnome-icon-theme, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "skeuowaita-icon-theme";
version = "unstable-2022-05-02";
src = fetchgit {
url = "https://gitlab.gnome.org/Conspiracy/skeuowaita.git";
rev = "82e4b2e2bc5af4eb424061f4148f1dcac56a56d3";
sha256 = "sha256-XnKnqE6qjKQQeIpZX5u298mbB7elsbkXmNYpgYefrNE=";
};
nativeBuildInputs = [ gtk3 ];
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
install -Dm644 index.theme -t $out/share/icons/skeuowaita
cp -a scalable/ $out/share/icons/skeuowaita
gtk-update-icon-cache $out/share/icons/skeuowaita
runHook postInstall
'';
meta = with lib; {
description = "A skeuomorphic take on Adwaita theme.";
homepage = "https://gitlab.gnome.org/Conspiracy/skeuowaita";
license = licenses.cc0;
platforms = platforms.linux;
};
}