mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
28 lines
702 B
Nix
28 lines
702 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gruvbox-dark-gtk";
|
|
version = "1.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jmattheis";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-C681o89MTGNp1l3DLQsRpH9HQdmdCXZzk0F0rNhcyL4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|