|
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://gogs.prunetwork.fr/jpierre03/random.git";
|
|
|
|
url = "https://gogs.prunetwork.fr/jpierre03/random.git";
|
|
|
|
sha256 = "1mfvn8iwznwlxxm89lkb1z6yxig1na5gjyh658v2drn5ic23zcxg";
|
|
|
|
sha256 = "1ymdix2vps4shzzaixgxvwpyi2y9fiq5fvh8a3xs5niq4xiz9yai";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# OUT shouldn't be needed (and shouldn't have worked), but random
|
|
|
|
# OUT shouldn't be needed (and shouldn't have worked), but random
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
|
|
|
|
buildInputs = [ gcc ];
|
|
|
|
buildInputs = [ gcc ];
|
|
|
|
buildPhase = "make build";
|
|
|
|
buildPhase = "make build";
|
|
|
|
installPhase = "make install";
|
|
|
|
installPhase = "make install PREFIX=\$out";
|
|
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Program thas exit with 0 or 1 randomly";
|
|
|
|
description = "Program thas exit with 0 or 1 randomly";
|
|
|
|