diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-10-02 11:14:56 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-10-02 11:16:13 +0200 |
commit | c8f9aa9f998bee523f6a1360bebdebc573150f4a (patch) | |
tree | 4d8cc4ee4ef382217cbd603f343058dd47b9f238 /pkgs/development/libraries/harfbuzz | |
parent | 32461d551c7fa4c8119cff6c5080cec93f8470f7 (diff) |
harfbuzz: use upstream's release tarballs
This is the intended way to build harfbuzz, so we may as well do it. Additionally it has the advantage that we only need to store and copy the compressed variant of the source tree (that has a stable hash) instead of the extracted variant like with fetchFromGitHub.
Diffstat (limited to 'pkgs/development/libraries/harfbuzz')
-rw-r--r-- | pkgs/development/libraries/harfbuzz/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index 3b419052b50d5..0bb6546543dc0 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -1,6 +1,6 @@ { lib , stdenv -, fetchFromGitHub +, fetchurl , pkg-config , glib , freetype @@ -40,11 +40,9 @@ stdenv.mkDerivation { pname = "harfbuzz${optionalString withIcu "-icu"}"; inherit version; - src = fetchFromGitHub { - owner = "harfbuzz"; - repo = "harfbuzz"; - rev = version; - sha256 = "1pry5w6anwi0qykpj1q3232r7cmfrw9yv4wwwrh028z0361fyxrv"; + src = fetchurl { + url = "https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz"; + sha256 = "0b4lpkidwx0lf8slczjji652yll6g5zgmm5lmisnb4s7gf8r8nkk"; }; postPatch = '' |