tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
gtk-theme-framework: init at 0.2.3
flexagoon
4 years ago
2dc8d067
d394cd0d
+46
2 changed files
expand all
collapse all
unified
split
pkgs
data
themes
gtk-theme-framework
default.nix
top-level
all-packages.nix
+36
pkgs/data/themes/gtk-theme-framework/default.nix
reviewed
···
1
1
+
{ stdenv, fetchFromGitHub, theme, lib }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "gtk-theme-framework";
5
5
+
version = "0.2.3";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "jaxwilko";
9
9
+
repo = pname;
10
10
+
rev = "v${version}";
11
11
+
sha256 = "1z5s5rsgiypanf2z0avaisbflnvwrc8aiy5qskrsvbbaja63jy3s";
12
12
+
};
13
13
+
14
14
+
postPatch = ''
15
15
+
substituteInPlace main.sh \
16
16
+
--replace "#!/usr/bin/env bash" "#!/bin/sh"
17
17
+
18
18
+
substituteInPlace scripts/install.sh \
19
19
+
--replace "#!/usr/bin/env bash" "#!/bin/sh"
20
20
+
'';
21
21
+
22
22
+
installPhase = ''
23
23
+
runHook preInstall
24
24
+
25
25
+
mkdir -p $out/share/themes
26
26
+
./main.sh -i -t ${theme} -d $out/share/themes
27
27
+
28
28
+
runHook postInstall
29
29
+
'';
30
30
+
31
31
+
meta = with lib; {
32
32
+
homepage = "https://github.com/jaxwilko/gtk-theme-framework";
33
33
+
license = licenses.gpl3Only;
34
34
+
maintainers = with maintainers; [ flexagoon ];
35
35
+
};
36
36
+
}
+10
pkgs/top-level/all-packages.nix
reviewed
···
22729
22729
22730
22730
gruvbox-dark-gtk = callPackage ../data/themes/gruvbox-dark-gtk { };
22731
22731
22732
22732
+
palenight-theme = callPackage ../data/themes/gtk-theme-framework { theme = "palenight"; };
22733
22733
+
22734
22734
+
amarena-theme = callPackage ../data/themes/gtk-theme-framework { theme = "amarena"; };
22735
22735
+
22736
22736
+
gruvterial-theme = callPackage ../data/themes/gtk-theme-framework { theme = "gruvterial"; };
22737
22737
+
22738
22738
+
oceanic-theme = callPackage ../data/themes/gtk-theme-framework { theme = "oceanic"; };
22739
22739
+
22740
22740
+
spacx-gtk-theme = callPackage ../data/themes/gtk-theme-framework { theme = "spacx"; };
22741
22741
+
22732
22742
gruvbox-dark-icons-gtk = callPackage ../data/icons/gruvbox-dark-icons-gtk {
22733
22743
inherit (plasma5Packages) breeze-icons;
22734
22744
};