Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 fetchFromGitHub, 3 stdenv, 4 lib, 5 openssl, 6 boost, 7 curl, 8 libevent, 9 libzip, 10 qrencode, 11 qtbase, 12 qttools, 13 wrapQtAppsHook, 14 autoreconfHook, 15 pkg-config, 16 libtool, 17 miniupnpc, 18 hexdump, 19}: 20 21stdenv.mkDerivation rec { 22 pname = "gridcoin-research"; 23 version = "5.4.9.0"; 24 25 src = fetchFromGitHub { 26 owner = "gridcoin-community"; 27 repo = "Gridcoin-Research"; 28 rev = "${version}"; 29 hash = "sha256-nupZB4nNbitpf5EBCNy0e+ovjayAszup/r7qxbxA5jI="; 30 }; 31 32 nativeBuildInputs = [ 33 pkg-config 34 wrapQtAppsHook 35 autoreconfHook 36 libtool 37 hexdump 38 ]; 39 40 buildInputs = [ 41 qttools 42 qtbase 43 qrencode 44 libevent 45 libzip 46 openssl 47 boost 48 miniupnpc 49 curl 50 ]; 51 52 configureFlags = [ 53 "--with-gui=qt5" 54 "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" 55 "--with-qrencode" 56 "--with-boost-libdir=${boost.out}/lib" 57 ]; 58 59 enableParallelBuilding = true; 60 61 meta = with lib; { 62 description = "POS-based cryptocurrency that rewards users for participating on the BOINC network"; 63 longDescription = '' 64 A POS-based cryptocurrency that rewards users for participating on the BOINC network, 65 using peer-to-peer technology to operate with no central authority - managing transactions, 66 issuing money and contributing to scientific research are carried out collectively by the network 67 ''; 68 homepage = "https://gridcoin.us/"; 69 license = licenses.mit; 70 maintainers = with maintainers; [ gigglesquid ]; 71 platforms = platforms.linux; 72 }; 73}