blob: 9e5e246880a20219ab2c7161df8471664e1a2caf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ stdenv, fetchFromGitHub, gtk3, sassc }:
stdenv.mkDerivation rec {
name = "tetra-gtk-theme-${version}";
version = "201902";
src = fetchFromGitHub {
owner = "hrdwrrsk";
repo = "tetra-gtk-theme";
rev = version;
sha256 = "0xvp85mzgh5msr3s6wl9xagz2xxqmy3s9jndbmwh1cc79fycggqv";
};
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;
};
}
|