git.iko.soy/typeable/nixpkgs
on master help sign in
Memorycoin (v0.8.5): altcoin for the masses

Memorycoin is an altcoin easily minerable by anyone, using only PC-based hardware, unlike other ASIC'd altcoins.

commit968376db4458862406eaf6b64949c70c637f6885 authorAndersonTorres <torres.anderson.85@gmail.com> dateSat 20 Dec 2014, 14:56 (12 years ago) parentac4f15b
2 files changed+53
pkgs/applications/altcoins/default.nix+3 pkgs/applications/altcoins/memorycoin.nix+50
pkgs/applications/altcoins/default.nix+3
@@ -14,6 +14,9 @@ rec {
1414 litecoin = callPackage ./litecoin.nix { withGui = true; };
1515 litecoind = callPackage ./litecoin.nix { withGui = false; };
1616
17+ memorycoin = callPackage ./memorycoin.nix { withGui = true; };
18+ memorycoind = callPackage ./memorycoin.nix { withGui = false; };
19+
1720 namecoin = callPackage ./namecoin.nix { inherit namecoind; };
1821 namecoind = callPackage ./namecoind.nix { };
1922}
pkgs/applications/altcoins/memorycoin.nixnew file+50
@@ -0,0 +1,50 @@
1+{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
2+, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode
3+, withGui }:
4+
5+with stdenv.lib;
6+stdenv.mkDerivation rec{
7+
8+ name = "memorycoin" + (toString (optional (!withGui) "d")) + "-" + version;
9+ version = "0.8.5";
10+
11+ src = fetchurl {
12+ url = "https://github.com/memorycoin/memorycoin/archive/v${version}.tar.gz";
13+ sha256 = "1iyh6dqrg0mirwci5br5n5qw3ghp2cs23wd8ygr56bh9ml4dr1m8";
14+ };
15+
16+ buildInputs = [ pkgconfig openssl db48 boost zlib
17+ miniupnpc utillinux protobuf ]
18+ ++ optionals withGui [ qt4 qrencode ];
19+
20+ configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]
21+ ++ optionals withGui [ "--with-gui=qt4" ];
22+
23+ configurePhase = optional withGui "qmake";
24+
25+ preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
26+
27+ installPhase =
28+ if withGui
29+ then "install -D bitcoin-qt $out/bin/memorycoin-qt"
30+ else "install -D bitcoind $out/bin/memorycoind";
31+
32+ meta = {
33+ description = "Peer-to-peer, CPU-based electronic cash system";
34+ longDescription= ''
35+ Memorycoin is a cryptocurrency that aims to empower the
36+ economically and financially marginalized. It allows individuals
37+ to participate in the internet economy even when they live in
38+ countries where credit card companies and PayPal(R) refuse to
39+ operate. Individuals can store and transfer wealth with just a
40+ memorized pass phrase.
41+
42+ Memorycoin is based on the Bitcoin code, but with some key
43+ differences.
44+ '';
45+ homepage = "http://www.bitcoin.org/";
46+ maintainers = with maintainers; [ AndersonTorres ];
47+ license = licenses.mit;
48+ platforms = platforms.unix;
49+ };
50+}