3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #47617 from dtzWill/feature/tetra-gtk-theme

tetra-gtk-theme: init at 1.6
This commit is contained in:
Will Dietz 2018-10-01 15:04:00 -05:00 committed by GitHub
commit 39a9503321
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ stdenv, fetchFromGitHub, gtk3, sassc }:
let
pname = "tetra-gtk-theme";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "0.1.6";
src = fetchFromGitHub {
owner = "hrdwrrsk";
repo = pname;
rev = version;
sha256 = "0jdgj7ac9842cgrjnzdqlf1f3hlf9v7xk377pvqcz2lwcr1dfaxz";
};
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;
};
}

View file

@ -22157,6 +22157,8 @@ with pkgs;
tetex = callPackage ../tools/typesetting/tex/tetex { libpng = libpng12; };
tetra-gtk-theme = callPackage ../misc/themes/tetra { };
tewi-font = callPackage ../data/fonts/tewi {};
texFunctions = callPackage ../tools/typesetting/tex/nix pkgs;