flat-remix-gnome: init at 20210623
This commit is contained in:
parent
d3bb50e7da
commit
ec00b2d3a2
2 changed files with 39 additions and 0 deletions
38
pkgs/data/themes/flat-remix-gnome/default.nix
Normal file
38
pkgs/data/themes/flat-remix-gnome/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, glib
|
||||
, lib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flat-remix-gnome";
|
||||
version = "20210623";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "daniruiz";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-FKsbAvjhXb2ipe3XqACM6OwGYwbBbzvDjsUQYCIQ8NM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ glib ];
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
preInstall = ''
|
||||
# make install will back up this file, it will fail if the file doesn't exist.
|
||||
# https://github.com/daniruiz/flat-remix-gnome/blob/20210623/Makefile#L50
|
||||
mkdir -p $out/share/gnome-shell/
|
||||
touch $out/share/gnome-shell/gnome-shell-theme.gresource
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm $out/share/gnome-shell/gnome-shell-theme.gresource.old
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GNOME Shell theme inspired by material design.";
|
||||
homepage = "https://drasite.com/flat-remix-gnome";
|
||||
license = licenses.cc-by-sa-40;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.vanilla ];
|
||||
};
|
||||
}
|
|
@ -22090,6 +22090,7 @@ in
|
|||
inherit (plasma5Packages) breeze-icons;
|
||||
};
|
||||
flat-remix-gtk = callPackage ../data/themes/flat-remix-gtk { };
|
||||
flat-remix-gnome = callPackage ../data/themes/flat-remix-gnome { };
|
||||
|
||||
font-awesome_4 = (callPackage ../data/fonts/font-awesome-5 { }).v4;
|
||||
font-awesome_5 = (callPackage ../data/fonts/font-awesome-5 { }).v5;
|
||||
|
|
Loading…
Reference in a new issue