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:
commit
39a9503321
40
pkgs/misc/themes/tetra/default.nix
Normal file
40
pkgs/misc/themes/tetra/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue