2021-01-16 23:55:22 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gruvbox-dark-gtk";
|
2021-04-26 02:47:41 +02:00
|
|
|
version = "1.0.2";
|
2021-01-16 23:55:22 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jmattheis";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-26 02:47:41 +02:00
|
|
|
sha256 = "sha256-C681o89MTGNp1l3DLQsRpH9HQdmdCXZzk0F0rNhcyL4=";
|
2021-01-16 23:55:22 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|