mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
40 lines
1.3 KiB
Nix
40 lines
1.3 KiB
Nix
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
|
|
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
|
|
, withGui }:
|
|
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation rec {
|
|
name = "hivemind" + (toString (optional (!withGui) "d")) + "-" + version;
|
|
version = "unstable";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitcoin-hivemind";
|
|
repo = "hivemind";
|
|
rev = "147973cfe76867410578d91d6f0a8df105cab4e0";
|
|
sha256 = "1ndqqma1b0sh2gn7cl8d9fg44q0g2g42jr2y0nifkjgfjn3c7l5h";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
buildInputs = [ openssl db48 boost zlib
|
|
miniupnpc protobuf libevent]
|
|
++ optionals stdenv.isLinux [ utillinux ]
|
|
++ optionals withGui [ qt4 qrencode ];
|
|
|
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib"
|
|
"--with-incompatible-bdb"
|
|
] ++ optionals withGui [ "--with-gui=qt4" ];
|
|
|
|
meta = {
|
|
description = "Peer-to-Peer oracle protocol";
|
|
longDescription= ''
|
|
Hivemind is a Peer-to-Peer Oracle Protocol which absorbs accurate data
|
|
into a blockchain so that Bitcoin-users can speculate in Prediction
|
|
Markets.
|
|
'';
|
|
homepage = https://bitcoinhivemind.com;
|
|
maintainers = with maintainers; [ canndrew ];
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|