2014-01-31 20:05:37 +00:00
|
|
|
{ fetchurl, stdenv, db, boost, gmp, mpfr, miniupnpc, qt4, unzip }:
|
2012-12-29 09:46:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-10-11 20:53:48 +01:00
|
|
|
version = "0.8.3-1";
|
2012-12-29 09:46:54 +00:00
|
|
|
name = "freicoin-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/freicoin/freicoin/archive/v${version}.zip";
|
2013-10-11 20:53:48 +01:00
|
|
|
sha256 = "0v3mh8a96nnb86mkyaylyjj7qfdrl7i9gvybh7f8w2hrl9paszfh";
|
2012-12-29 09:46:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# I think that openssl and zlib are required, but come through other
|
|
|
|
# packages
|
2014-01-31 20:05:37 +00:00
|
|
|
buildInputs = [ db boost gmp mpfr miniupnpc qt4 unzip ];
|
2012-12-29 09:46:54 +00:00
|
|
|
|
|
|
|
configurePhase = "qmake";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp freicoin-qt $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Peer-to-peer currency with demurrage fee";
|
|
|
|
homepage = "http://freicoi.in/";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2012-12-29 09:46:54 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|