tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gtkd: 3.10.0 -> 3.11.0
Sizhe Zhao
8 months ago
aa18ed26
81c9af4c
+16
-6
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
gt
gtkd
package.nix
+16
-6
pkgs/by-name/gt/gtkd/package.nix
···
1
{
2
lib,
3
stdenv,
4
-
fetchzip,
0
5
atk,
6
cairo,
7
dcompiler ? ldc,
···
24
in
25
stdenv.mkDerivation rec {
26
pname = "gtkd";
27
-
version = "3.10.0";
28
29
-
src = fetchzip {
30
-
url = "https://gtkd.org/Downloads/sources/GtkD-${version}.zip";
31
-
sha256 = "DEKVDexGyg/T3SdnnvRjaHq1LbDo8ekNslxKROpMCCE=";
32
-
stripRoot = false;
0
33
};
34
35
nativeBuildInputs = [
···
50
librsvg
51
pango
52
vte
0
0
0
0
0
0
0
53
];
54
55
postPatch = ''
···
141
makeFlags = [
142
"prefix=${placeholder "out"}"
143
"PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config"
0
144
];
145
146
# The .pc files does not declare an `includedir=`, so the multiple
···
1
{
2
lib,
3
stdenv,
4
+
fetchFromGitHub,
5
+
fetchpatch2,
6
atk,
7
cairo,
8
dcompiler ? ldc,
···
25
in
26
stdenv.mkDerivation rec {
27
pname = "gtkd";
28
+
version = "3.11.0";
29
30
+
src = fetchFromGitHub {
31
+
owner = "gtkd-developers";
32
+
repo = "GtkD";
33
+
tag = "v${version}";
34
+
hash = "sha256-UpPoskHtnI4nUOKdLorK89grgUUPrCvO4zrAl9LfjHA=";
35
};
36
37
nativeBuildInputs = [
···
52
librsvg
53
pango
54
vte
55
+
];
56
+
57
+
patches = [
58
+
(fetchpatch2 {
59
+
url = "https://github.com/gtkd-developers/GtkD/commit/1e41b2da35c7dc2d18b118c632cb07137d048c2b.patch?full_index=1";
60
+
hash = "sha256-8vQntjVrQH1+qHBBkB5PxcgLvucosEEPi43uqlnHe4g=";
61
+
})
62
];
63
64
postPatch = ''
···
150
makeFlags = [
151
"prefix=${placeholder "out"}"
152
"PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config"
153
+
"GTKD_VERSION=${version}"
154
];
155
156
# The .pc files does not declare an `includedir=`, so the multiple