mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
21 lines
519 B
Nix
21 lines
519 B
Nix
{ stdenv, fetchurl, curl, jansson }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cpuminer-${version}";
|
|
version = "2.3.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/cpuminer/pooler-${name}.tar.gz";
|
|
sha256 = "10xnb58w90kq8xgnkk0z99c0b9p9pxhkhkcs9dml5pgxfrlakckg";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|