diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2017-03-24 23:42:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 23:42:52 +0100 |
commit | 0aa11219b5d37fbf71d916da27a200b51c4ec769 (patch) | |
tree | e865bc489f1d0c40cfe16db522758523dad6af9c /pkgs/applications/altcoins | |
parent | 24a69286e9e0b017e7e4d51db0f5b29adc3f7438 (diff) | |
parent | 375639518d0fcf7e8b73d8d3c9e072549b6bbc73 (diff) | |
download | nixlib-0aa11219b5d37fbf71d916da27a200b51c4ec769.tar nixlib-0aa11219b5d37fbf71d916da27a200b51c4ec769.tar.gz nixlib-0aa11219b5d37fbf71d916da27a200b51c4ec769.tar.bz2 nixlib-0aa11219b5d37fbf71d916da27a200b51c4ec769.tar.lz nixlib-0aa11219b5d37fbf71d916da27a200b51c4ec769.tar.xz nixlib-0aa11219b5d37fbf71d916da27a200b51c4ec769.tar.zst nixlib-0aa11219b5d37fbf71d916da27a200b51c4ec769.zip |
Merge pull request #24224 from ndowens/freicoin
freicoin: 0.8.3-1 -> 0.8.6-2; Moved to correct category
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r-- | pkgs/applications/altcoins/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/altcoins/freicoin.nix | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/altcoins/default.nix b/pkgs/applications/altcoins/default.nix index 1d9b897188d7..9c19be3cc524 100644 --- a/pkgs/applications/altcoins/default.nix +++ b/pkgs/applications/altcoins/default.nix @@ -16,6 +16,7 @@ rec { dogecoin = callPackage ./dogecoin.nix { withGui = true; }; dogecoind = callPackage ./dogecoin.nix { withGui = false; }; + freicoin = callPackage ../freicoin.nix { boost = boost155; }; go-ethereum = callPackage ./go-ethereum.nix { }; litecoin = callPackage ./litecoin.nix { withGui = true; }; diff --git a/pkgs/applications/altcoins/freicoin.nix b/pkgs/applications/altcoins/freicoin.nix new file mode 100644 index 000000000000..f7cd04f1be4e --- /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; + }; +} |