mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #50897 from romildo/upd.nordic
nordic: init at 1.2.1
This commit is contained in:
commit
aa9997f189
2 changed files with 37 additions and 0 deletions
35
pkgs/misc/themes/nordic/default.nix
Normal file
35
pkgs/misc/themes/nordic/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, fetchurl, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nordic-${version}";
|
||||
version = "1.2.1";
|
||||
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic.tar.xz";
|
||||
sha256 = "1k8fzvjb92wcqha378af5hk6r75xanff9iwlx51jmi67ny8z28pn";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-standard-buttons.tar.xz";
|
||||
sha256 = "12w01z88rqkds1wm2kskql1x5c6prpgpc9cxxnl0b11knsfhi6jn";
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/themes
|
||||
cp -a Nordic* $out/share/themes
|
||||
rm $out/share/themes/*/{LICENSE,README.md}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Dark Gtk theme created using the awesome Nord color pallete";
|
||||
homepage = https://github.com/EliverLara/Nordic;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
|
@ -21009,6 +21009,8 @@ with pkgs;
|
|||
|
||||
gnome-themes-extra = gnome3.gnome-themes-extra;
|
||||
|
||||
nordic = callPackage ../misc/themes/nordic { };
|
||||
|
||||
numix-gtk-theme = callPackage ../misc/themes/numix { };
|
||||
|
||||
numix-solarized-gtk-theme = callPackage ../misc/themes/numix-solarized { };
|
||||
|
|
Loading…
Reference in a new issue