21 lines
519 B
Nix
21 lines
519 B
Nix
{ stdenv, fetchurl, curl, jansson }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cpuminer-${version}";
|
|
version = "2.3.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/cpuminer/pooler-${name}.tar.gz";
|
|
sha256 = "17pjnb1nb8c1akr07hgac2pqd5fcv34f12g7iykbn9hgig5r1sxc";
|
|
};
|
|
|
|
buildInputs = [ curl jansson ];
|
|
|
|
meta = {
|
|
homepage = https://github.com/pooler/cpuminer;
|
|
description = "CPU miner for Litecoin and Bitcoin";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|