1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/applications/misc/bitcoin/default.nix
Lluís Batlle i Rossell 7f62880468 Updating bitcoin to 0.8.5
2013-10-12 19:06:42 +02:00

37 lines
1 KiB
Nix

{ fetchurl, stdenv, openssl, db4, boost, zlib, miniupnpc, qt4 }:
stdenv.mkDerivation rec {
version = "0.8.5";
name = "bitcoin-${version}";
src = fetchurl {
url = "mirror://sourceforge/bitcoin/${name}-linux.tar.gz";
sha256 = "0qqzwx1lihlrj7r08alsyznjfqvwncfm0nnxi1pcx0jyvq83ym44";
};
buildInputs = [ openssl db4 boost zlib miniupnpc qt4 ];
configurePhase = ''
cd src
qmake
'';
installPhase = ''
mkdir -p $out/bin
cp bitcoin-qt $out/bin
'';
meta = {
description = "Bitcoin is a peer-to-peer currency";
longDescription= ''
Bitcoin is a free open source peer-to-peer electronic cash system that is
completely decentralized, without the need for a central server or trusted
parties. Users hold the crypto keys to their own money and transact directly
with each other, with the help of a P2P network to check for double-spending.
'';
homepage = "http://www.bitcoin.org/";
maintainers = [ stdenv.lib.maintainers.roconnor ];
license = "MIT";
};
}