graphene-hardened-malloc: switch to fetchFromGitHub
This commit is contained in:
parent
7b1ce7a5f9
commit
9f2508505e
|
@ -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 {
|
lib.fix (self: stdenv.mkDerivation rec {
|
||||||
pname = "graphene-hardened-malloc";
|
pname = "graphene-hardened-malloc";
|
||||||
version = "8";
|
version = "8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/GrapheneOS/hardened_malloc/archive/${version}.tar.gz";
|
owner = "GrapheneOS";
|
||||||
sha256 = "0lipyd2pb1bmghkyv9zmg25jwcglj7m281f01zlh3ghz3xlfh0ym";
|
repo = "hardened_malloc";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-+5kJb3hhuFTto7zsIymIXl3tpKUOm3v1DCY4EkAOCgo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue