at 23.05-pre 580 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "randomX"; 5 version = "1.1.10"; 6 7 nativeBuildInputs = [ cmake ]; 8 9 src = fetchFromGitHub { 10 owner = "tevador"; 11 repo = pname; 12 rev = "v${version}"; 13 sha256 = "sha256-ZPphhZFzQL72xcEp9kNfZITY4oqK930ve/bbljTYNBs="; 14 }; 15 16 meta = with lib; { 17 description = "Proof of work algorithm based on random code execution"; 18 homepage = "https://github.com/tevador/RandomX"; 19 license = licenses.bsd3; 20 maintainers = with maintainers; [ rnhmjoj ]; 21 platforms = platforms.unix; 22 }; 23 24}