lol

gtkd: 3.10.0 -> 3.11.0

+16 -6
+16 -6
pkgs/by-name/gt/gtkd/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchzip, 4 + fetchFromGitHub, 5 + fetchpatch2, 5 6 atk, 6 7 cairo, 7 8 dcompiler ? ldc, ··· 24 25 in 25 26 stdenv.mkDerivation rec { 26 27 pname = "gtkd"; 27 - version = "3.10.0"; 28 + version = "3.11.0"; 28 29 29 - src = fetchzip { 30 - url = "https://gtkd.org/Downloads/sources/GtkD-${version}.zip"; 31 - sha256 = "DEKVDexGyg/T3SdnnvRjaHq1LbDo8ekNslxKROpMCCE="; 32 - stripRoot = false; 30 + src = fetchFromGitHub { 31 + owner = "gtkd-developers"; 32 + repo = "GtkD"; 33 + tag = "v${version}"; 34 + hash = "sha256-UpPoskHtnI4nUOKdLorK89grgUUPrCvO4zrAl9LfjHA="; 33 35 }; 34 36 35 37 nativeBuildInputs = [ ··· 50 52 librsvg 51 53 pango 52 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 + }) 53 62 ]; 54 63 55 64 postPatch = '' ··· 141 150 makeFlags = [ 142 151 "prefix=${placeholder "out"}" 143 152 "PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config" 153 + "GTKD_VERSION=${version}" 144 154 ]; 145 155 146 156 # The .pc files does not declare an `includedir=`, so the multiple