Merge pull request #36294 from Mic92/primecoins

primecoin: remove as it seems no longer maintained

authored by Jörg Thalheim and committed by GitHub 125593ff 1aa5bb44

-61
-3
pkgs/applications/altcoins/default.nix
··· 59 59 60 60 hevm = (haskellPackages.callPackage ./hevm.nix {}); 61 61 62 - primecoin = callPackage ./primecoin.nix { withGui = true; }; 63 - primecoind = callPackage ./primecoin.nix { withGui = false; }; 64 - 65 62 stellar-core = callPackage ./stellar-core.nix { }; 66 63 67 64 sumokoin = callPackage ./sumokoin.nix { };
-58
pkgs/applications/altcoins/primecoin.nix
··· 1 - { stdenv, fetchurl, pkgconfig, openssl, db48, boost 2 - , zlib, qt4, qmake4Hook, utillinux, protobuf, qrencode 3 - , withGui }: 4 - 5 - with stdenv.lib; 6 - stdenv.mkDerivation rec{ 7 - 8 - name = "primecoin" + (toString (optional (!withGui) "d")) + "-" + version; 9 - version = "0.8.6"; 10 - 11 - src = fetchurl { 12 - url = "https://github.com/primecoin/primecoin/archive/v${version}.tar.gz"; 13 - sha256 = "0cixnkici74204s9d5iqj5sccib5a8dig2p2fp1axdjifpg787i3"; 14 - }; 15 - 16 - qmakeFlags = ["USE_UPNP=-"]; 17 - makeFlags = ["USE_UPNP=-"]; 18 - 19 - nativeBuildInputs = [ pkgconfig ]; 20 - buildInputs = [ openssl db48 boost zlib utillinux protobuf ] 21 - ++ optionals withGui [ qt4 qmake4Hook qrencode ]; 22 - 23 - configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] 24 - ++ optionals withGui [ "--with-gui=qt4" ]; 25 - 26 - preBuild = "unset AR;" 27 - + (toString (optional (!withGui) "cd src; cp makefile.unix Makefile")); 28 - 29 - installPhase = 30 - if withGui 31 - then "install -D bitcoin-qt $out/bin/primecoin-qt" 32 - else "install -D bitcoind $out/bin/primecoind"; 33 - 34 - # `make build/version.o`: 35 - # make: *** No rule to make target 'build/build.h', needed by 'build/version.o'. Stop. 36 - enableParallelBuilding = false; 37 - 38 - meta = { 39 - description = "A new type cryptocurrency which is proof-of-work based on searching for prime numbers"; 40 - longDescription= '' 41 - Primecoin is an innovative cryptocurrency, a form of digital 42 - currency secured by cryptography and issued through a 43 - decentralized mining market. Derived from Satoshi Nakamoto's 44 - Bitcoin, Primecoin introduces an unique form of proof-of-work 45 - based on prime numbers. 46 - 47 - The innovative prime proof-of-work in Primecoin not only 48 - provides security and minting to the network, but also generates 49 - a special form of prime number chains of interest to mathematical 50 - research. Thus primecoin network is energy-multiuse, compared to 51 - bitcoin. 52 - ''; 53 - homepage = http://primecoin.io/; 54 - maintainers = with maintainers; [ AndersonTorres ]; 55 - license = licenses.mit; 56 - platforms = platforms.unix; 57 - }; 58 - }