diff options
author | Felix Buehler <account@buehler.rocks> | 2022-01-04 16:37:07 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-01-05 00:08:40 +0100 |
commit | 9f2508505e08a88765e0a5c45a2c99d137d2fd15 (patch) | |
tree | 4c20a08ca1f417e5e04cc52cc358154378fdcf01 /pkgs/development/libraries | |
parent | 7b1ce7a5f91f439700dfed62274d7dfc334d293e (diff) |
graphene-hardened-malloc: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/graphene-hardened-malloc/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/graphene-hardened-malloc/default.nix b/pkgs/development/libraries/graphene-hardened-malloc/default.nix index 35a4d93626802..f3c16c8ac3217 100644 --- a/pkgs/development/libraries/graphene-hardened-malloc/default.nix +++ b/pkgs/development/libraries/graphene-hardened-malloc/default.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, fetchurl, python3, runCommand, makeWrapper, stress-ng }: +{ lib, stdenv, fetchFromGitHub, python3, runCommand, makeWrapper, stress-ng }: lib.fix (self: stdenv.mkDerivation rec { pname = "graphene-hardened-malloc"; version = "8"; - src = fetchurl { - url = "https://github.com/GrapheneOS/hardened_malloc/archive/${version}.tar.gz"; - sha256 = "0lipyd2pb1bmghkyv9zmg25jwcglj7m281f01zlh3ghz3xlfh0ym"; + src = fetchFromGitHub { + owner = "GrapheneOS"; + repo = "hardened_malloc"; + rev = version; + sha256 = "sha256-+5kJb3hhuFTto7zsIymIXl3tpKUOm3v1DCY4EkAOCgo="; }; doCheck = true; |