Merge pull request #254242 from theotheroracle/obinskit

obinskit: fix hash and add necessary referer header
This commit is contained in:
Weijia Wang 2023-10-13 03:47:48 +02:00 committed by GitHub
commit ef4394f037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://s3.hexcore.xyz/occ/linux/tar/ObinsKit_${version}_x64.tar.gz";
sha256 = "1kcn41wmwcx6q70spa9a1qh7wfrj1sk4v4i58lbnf9kc6vasw41a";
curlOptsList = [ "--header" "Referer: https://www.hexcore.xyz/" ];
hash = "sha256-KhCu1TZsJmcXRSWSTaYOMjt+IA4qqavBwaYzXnkgls0=";
};
unpackPhase = "tar -xzf $src";