mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #1508 from offlinehacker/pkgs/cpuminer/add
Add cpuminer, multi-threaded Litecoin and Bitcoin miner
This commit is contained in:
commit
d3d988b768
20
pkgs/tools/misc/cpuminer/default.nix
Normal file
20
pkgs/tools/misc/cpuminer/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -697,6 +697,8 @@ let
|
||||
|
||||
cowsay = callPackage ../tools/misc/cowsay { };
|
||||
|
||||
cpuminer = callPackage ../tools/misc/cpuminer { };
|
||||
|
||||
cuetools = callPackage ../tools/cd-dvd/cuetools { };
|
||||
|
||||
unifdef = callPackage ../development/tools/misc/unifdef { };
|
||||
|
Loading…
Reference in New Issue
Block a user