3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/themes/tetra/default.nix
2019-03-09 18:50:50 -06:00

37 lines
916 B
Nix

{ stdenv, fetchFromGitHub, gtk3, sassc }:
stdenv.mkDerivation rec {
name = "tetra-gtk-theme-${version}";
version = "201903";
src = fetchFromGitHub {
owner = "hrdwrrsk";
repo = "tetra-gtk-theme";
rev = version;
sha256 = "0ycxvz16gg8rjlg71dzbfnqlh0y62v35j8dvgs8rckfb48xm0xvs";
};
preBuild = ''
# Shut up inkscape's warnings
export HOME="$NIX_BUILD_ROOT"
'';
nativeBuildInputs = [ sassc ];
buildInputs = [ gtk3 ];
postPatch = "patchShebangs .";
installPhase = ''
mkdir -p $out/share/themes
./install.sh -d $out/share/themes
'';
meta = with stdenv.lib; {
description = "Adwaita-based gtk+ theme with design influence from elementary OS and Vertex gtk+ theme";
homepage = https://github.com/hrdwrrsk/tetra-gtk-theme;
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.linux;
};
}