nixpkgs/pkgs/misc/themes/tetra/default.nix

37 lines
916 B
Nix
Raw Normal View History

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