3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/themes/gruvbox-dark-gtk/default.nix

28 lines
702 B
Nix
Raw Normal View History

2021-01-16 22:55:22 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "gruvbox-dark-gtk";
2021-04-26 01:47:41 +01:00
version = "1.0.2";
2021-01-16 22:55:22 +00:00
src = fetchFromGitHub {
owner = "jmattheis";
repo = pname;
rev = "v${version}";
2021-04-26 01:47:41 +01:00
sha256 = "sha256-C681o89MTGNp1l3DLQsRpH9HQdmdCXZzk0F0rNhcyL4=";
2021-01-16 22:55:22 +00:00
};
installPhase = ''
mkdir -p $out/share/themes/gruvbox-dark
rm -rf README.md LICENSE .github
cp -r * $out/share/themes/gruvbox-dark
'';
meta = with lib; {
description = "Gruvbox theme for GTK based desktop environments";
homepage = "https://github.com/jmattheis/gruvbox-dark-gtk";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.nomisiv ];
};
}