overlay: add SimpleYggGen-CPP yggdrasil miner
This commit is contained in:
parent
7486153420
commit
f4a8870632
|
@ -16,4 +16,6 @@ final: prev:
|
||||||
readsb = prev.callPackage ./readsb.nix { };
|
readsb = prev.callPackage ./readsb.nix { };
|
||||||
|
|
||||||
plume = prev.callPackage ./plume { };
|
plume = prev.callPackage ./plume { };
|
||||||
|
|
||||||
|
SimpleYggGen-CPP = prev.callPackage ./simpleygggen.nix { };
|
||||||
}
|
}
|
||||||
|
|
17
overlay/simpleygggen.nix
Normal file
17
overlay/simpleygggen.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ lib, stdenv, fetchurl, cmake, libsodium, }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "SimpleYggGen-CPP";
|
||||||
|
version = "5.1";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://notabug.org/acetone/${pname}/archive/${version}.tar.gz";
|
||||||
|
hash = "sha256-z5Wtmw2vq3qRjNSOJ0xlxdmB5g2Oa+UQn1Awt7+R/XY=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ libsodium ];
|
||||||
|
installPhase = ''
|
||||||
|
find .
|
||||||
|
install -D src/sygcpp $out/bin/$pname
|
||||||
|
'';
|
||||||
|
meta.maintainers = [ lib.maintainers.ehmry ];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user