Merge pull request #88020 from romildo/upd.canta-theme

canta-theme: 2020-01-31 -> 2020-05-17
This commit is contained in:
José Romildo Malaquias 2020-05-20 15:51:22 -03:00 committed by GitHub
commit 307931388c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,57 @@
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
{ stdenv
, fetchFromGitHub
, gdk-pixbuf
, librsvg
, gtk-engine-murrine
, gtk3
, gnome3
, gnome-icon-theme
, numix-icon-theme-circle
, hicolor-icon-theme
}:
stdenv.mkDerivation rec {
pname = "canta-theme";
version = "2020-01-31";
version = "2020-05-17";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "070lhbhh3n7nd6rkwm52v1x4v8spyb932w6qmgs2r19g0whyn55w";
sha256 = "0b9ffkw611xxb2wh43sjqla195jp0ygxph5a8dvifkxdw6nxc2y0";
};
buildInputs = [ gdk-pixbuf librsvg ];
nativeBuildInputs = [
gtk3
];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
buildInputs = [
gdk-pixbuf
librsvg
];
propagatedBuildInputs = [
gnome3.adwaita-icon-theme
gnome-icon-theme
numix-icon-theme-circle
hicolor-icon-theme
];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
dontDropIconThemeCache = true;
installPhase = ''
patchShebangs .
mkdir -p $out/share/themes
name= ./install.sh -d $out/share/themes
install -D -t $out/share/backgrounds wallpaper/canta-wallpaper.svg
name= ./install.sh --dest $out/share/themes
rm $out/share/themes/*/{AUTHORS,COPYING}
install -D -t $out/share/backgrounds wallpaper/canta-wallpaper.svg
mkdir -p $out/share/icons
cp -a icons/Canta $out/share/icons
gtk-update-icon-cache $out/share/icons/Canta
'';
meta = with stdenv.lib; {