diff options
author | Felix Buehler <account@buehler.rocks> | 2021-11-01 16:04:01 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-11-12 00:12:24 +0100 |
commit | 512b6d19df1cf8ab47625b552c7f885a4d001545 (patch) | |
tree | 52a82ec9b8e6f2985708e61ddededc3c626d022e /pkgs/development/libraries/stxxl | |
parent | 258b28b03e3d2414cc9121209c5da1057344daf7 (diff) |
stxxl: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/development/libraries/stxxl')
-rw-r--r-- | pkgs/development/libraries/stxxl/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/libraries/stxxl/default.nix b/pkgs/development/libraries/stxxl/default.nix index eec4f722d4111..5cc0e6037a23d 100644 --- a/pkgs/development/libraries/stxxl/default.nix +++ b/pkgs/development/libraries/stxxl/default.nix @@ -1,4 +1,7 @@ -{ lib, stdenv, fetchurl, cmake +{ lib +, stdenv +, fetchFromGitHub +, cmake , parallel ? true }: @@ -10,9 +13,11 @@ stdenv.mkDerivation rec { pname = "stxxl"; version = "1.4.1"; - src = fetchurl { - url = "https://github.com/stxxl/stxxl/archive/${version}.tar.gz"; - sha256 = "54006a5fccd1435abc2f3ec201997a4d7dacddb984d2717f62191798e5372f6c"; + src = fetchFromGitHub { + owner = "stxxl"; + repo = "stxxl"; + rev = version; + sha256 = "sha256-U6DQ5mI83pyTmq5/ga5rI8v0h2/iEnNl8mxhIOpbF1I="; }; nativeBuildInputs = [ cmake ]; |