3
0
Fork 0
forked from mirrors/nixpkgs

monero: intial expression for 0.8.8.3

http://monero.cc
This commit is contained in:
Emery Hemingway 2014-09-15 15:31:15 -04:00
parent 69c95e3fdf
commit 82de6b87d6
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchurl, cmake, boost }:
let
version = "0.8.8.4";
in
stdenv.mkDerivation {
name = "monero-${version}";
src = fetchurl {
url = "https://github.com/monero-project/bitmonero/archive/v${version}.tar.gz";
sha256 = "0bbhqjjzh922aymjqrnl2hd3r8x6p7x5aa5jidv3l4d77drhlgzy";
};
buildInputs = [ cmake boost ];
# these tests take a long time and don't
# always complete in the build environment
postPatch = "sed -i '/add_subdirectory(tests)/d' CMakeLists.txt";
doCheck = false;
checkTarget = "test-release"; # this would be the target
installPhase = ''
installBin \
src/bitmonerod \
src/connectivity_tool \
src/simpleminer \
src/simplewallet
'';
meta = with stdenv.lib; {
description = "Private, secure, untraceable currency";
homepage = http://monero.cc/;
license = licenses.bsd3;
maintainers = [ maintainers.emery ];
platforms = platforms.all;
};
}

View file

@ -9437,6 +9437,8 @@ let
moc = callPackage ../applications/audio/moc { };
monero = callPackage ../applications/misc/monero { };
monkeysAudio = callPackage ../applications/audio/monkeys-audio { };
monodevelop = callPackage ../applications/editors/monodevelop {