diff options
author | ndowens <ndowens04@gmail.com> | 2017-03-22 17:46:41 -0500 |
---|---|---|
committer | ndowens <ndowens04@gmail.com> | 2017-03-22 17:46:41 -0500 |
commit | 375639518d0fcf7e8b73d8d3c9e072549b6bbc73 (patch) | |
tree | 9ab156e6c8bd7f23ad3193487f2891872f6fc509 /pkgs/applications/altcoins/freicoin.nix | |
parent | 040b86a96e8cc5125762f2b026734e9c760caad9 (diff) | |
download | nixpkgs-375639518d0fcf7e8b73d8d3c9e072549b6bbc73.tar nixpkgs-375639518d0fcf7e8b73d8d3c9e072549b6bbc73.tar.gz nixpkgs-375639518d0fcf7e8b73d8d3c9e072549b6bbc73.tar.bz2 nixpkgs-375639518d0fcf7e8b73d8d3c9e072549b6bbc73.tar.lz nixpkgs-375639518d0fcf7e8b73d8d3c9e072549b6bbc73.tar.xz nixpkgs-375639518d0fcf7e8b73d8d3c9e072549b6bbc73.tar.zst nixpkgs-375639518d0fcf7e8b73d8d3c9e072549b6bbc73.zip |
freicoin: 0.8.3-1 -> 0.8.6-2; Moved to correct category
Diffstat (limited to 'pkgs/applications/altcoins/freicoin.nix')
-rw-r--r-- | pkgs/applications/altcoins/freicoin.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/altcoins/freicoin.nix b/pkgs/applications/altcoins/freicoin.nix new file mode 100644 index 00000000000..f7cd04f1be4 --- /dev/null +++ b/pkgs/applications/altcoins/freicoin.nix @@ -0,0 +1,32 @@ +{ fetchFromGitHub, stdenv, db, boost, gmp, mpfr, miniupnpc, qt4, qmake4Hook, unzip }: + +stdenv.mkDerivation rec { + version = "0.8.6-2"; + name = "freicoin-${version}"; + + src = fetchFromGitHub { + owner = "freicoin"; + repo = "freicoin"; + rev = "v${version}"; + sha256 = "1m5pcnfhwhcj7q00p2sy3h73rkdm3w6grmljgiq53gshcj08cq1z"; + }; + + # I think that openssl and zlib are required, but come through other + # packages + + installPhase = '' + mkdir -p $out/bin + cp freicoin-qt $out/bin + ''; + + nativeBuildInputs = [ qmake4Hook ]; + buildInputs = [ db boost gmp mpfr miniupnpc qt4 ]; + + meta = with stdenv.lib; { + description = "Peer-to-peer currency with demurrage fee"; + homepage = http://freicoi.in/; + license = licenses.mit; + maintainers = [ maintainers.viric ]; + platforms = platforms.linux; + }; +} |