Commit 63c8a30c authored by Naoki OKAMURA's avatar Naoki OKAMURA

new: new packages: newwaita-icons ad plastik-theme (NOTE: I forgot to adding these package)

parent d8c434a5
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "Newaita-${version}";
version = "git";
src = fetchFromGitHub {
owner = "cbrnix";
repo = "Newaita";
rev = "493381f2adaef8f948e6b3dabd1357bcab57f30f";
sha256 = "02l726fhpwpawrfw22ghz8lwfynz6g2kvw4r3kb0r07f9gh84n80";
};
installPhase = ''
mkdir -p $out/share/icons
mv Newaita-dark $out/share/icons
mv Newaita $out/share/icons
'';
}
{ stdenv, requireFile }:
let
message = ''
Please download from:
- https://www.opendesktop.org/co/1528244815
'';
gtk = requireFile {
name = "Plastik_Master.tar.xz";
sha256 = "1gix9jnpf1wysppa2jifdlbb26g88f4krwd3il2mad3j2w59ff7n";
inherit message;
};
gnome-shell-white = requireFile {
name = "Plastik-20180913144229.tar.xz";
sha256 = "0xy2pivhzg15qx5k4lrmww5024qd3ir97j9fx5avaks13dw6zy1x";
inherit message;
};
gnome-shell-griss = requireFile {
name = "Plastik-Griss-20180727042955.tar.xz";
sha256 = "1mjn1wyvngqcmcgbqjan4c364x836w521awp30k3kg5103chyi5p";
inherit message;
};
gnome-shell-dark = requireFile {
name = "PlastikDark-Shell.tar.xz";
sha256 = "0apha3vh144nd21r86xn60sy2dnpcq0vq46y3lg0v50rlbdgic0b";
inherit message;
};
in stdenv.mkDerivation rec {
name = "plastik-theme-${version}";
version = "git";
srcs = [ gtk gnome-shell-white gnome-shell-griss gnome-shell-dark ];
unpackPhase = ''
${stdenv.lib.concatMapStrings (x: ''
tar -xf ${x}
'') srcs}
'';
installPhase = ''
mkdir -p $out/share/themes
mv Plastik/gnome-shell Plastik/Plastik/
mv PlastikDark-Shell/gnome-shell Plastik/Plastik-Dark/
mv Plastik-Griss/gnome-shell Plastik/Plastik-Griss/
mv Plastik/* $out/share/themes/
'';
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment