forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / libraries / randomx / default.nix
blob4e85b3688ab7ec8a6597ebc7811582c6df8b3609
1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
4   pname = "randomX";
5   version = "1.2.1";
7   nativeBuildInputs = [ cmake ];
9   src = fetchFromGitHub {
10     owner = "tevador";
11     repo = pname;
12     rev = "v${version}";
13     sha256 = "sha256-dfImzwbEfJQcaPZCoWypHiI6dishVRdqS/r+n3tfjvM=";
14   };
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   };