about summary refs log tree commit diff
path: root/pkgs/applications/altcoins
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-03-04 19:00:03 +0000
committerGitHub <noreply@github.com>2018-03-04 19:00:03 +0000
commit125593ff9f28868d068a78415feabd1ac3cc7b80 (patch)
tree8419149a835a666b742a38f73b976555b65103fd /pkgs/applications/altcoins
parent1aa5bb44ca3e44c7247bcaa052037e57df3f3042 (diff)
parent34161b49f9b53e9b7f3ffccf266641bbc5db379e (diff)
downloadnixlib-125593ff9f28868d068a78415feabd1ac3cc7b80.tar
nixlib-125593ff9f28868d068a78415feabd1ac3cc7b80.tar.gz
nixlib-125593ff9f28868d068a78415feabd1ac3cc7b80.tar.bz2
nixlib-125593ff9f28868d068a78415feabd1ac3cc7b80.tar.lz
nixlib-125593ff9f28868d068a78415feabd1ac3cc7b80.tar.xz
nixlib-125593ff9f28868d068a78415feabd1ac3cc7b80.tar.zst
nixlib-125593ff9f28868d068a78415feabd1ac3cc7b80.zip
Merge pull request #36294 from Mic92/primecoins
primecoin: remove as it seems no longer maintained
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r--pkgs/applications/altcoins/default.nix3
-rw-r--r--pkgs/applications/altcoins/primecoin.nix58
2 files changed, 0 insertions, 61 deletions
diff --git a/pkgs/applications/altcoins/default.nix b/pkgs/applications/altcoins/default.nix
index c68f78a07000..a4caf8d4ef5d 100644
--- a/pkgs/applications/altcoins/default.nix
+++ b/pkgs/applications/altcoins/default.nix
@@ -59,9 +59,6 @@ rec {
 
   hevm = (haskellPackages.callPackage ./hevm.nix {});
 
-  primecoin  = callPackage ./primecoin.nix { withGui = true; };
-  primecoind = callPackage ./primecoin.nix { withGui = false; };
-
   stellar-core = callPackage ./stellar-core.nix { };
 
   sumokoin = callPackage ./sumokoin.nix { };
diff --git a/pkgs/applications/altcoins/primecoin.nix b/pkgs/applications/altcoins/primecoin.nix
deleted file mode 100644
index f79d54d0ce26..000000000000
--- a/pkgs/applications/altcoins/primecoin.nix
+++ /dev/null
@@ -1,58 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
-, zlib, qt4, qmake4Hook, utillinux, protobuf, qrencode
-, withGui }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec{
-
-  name = "primecoin" + (toString (optional (!withGui) "d")) + "-" + version;
-  version = "0.8.6";
-
-  src = fetchurl {
-    url =  "https://github.com/primecoin/primecoin/archive/v${version}.tar.gz";
-    sha256 = "0cixnkici74204s9d5iqj5sccib5a8dig2p2fp1axdjifpg787i3";
-  };
-
-  qmakeFlags = ["USE_UPNP=-"];
-  makeFlags = ["USE_UPNP=-"];
-
-  nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ openssl db48 boost zlib utillinux protobuf ]
-                  ++ optionals withGui [ qt4 qmake4Hook qrencode ];
-
-  configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
-                     ++ optionals withGui [ "--with-gui=qt4" ];
-
-  preBuild = "unset AR;"
-              + (toString (optional (!withGui) "cd src; cp makefile.unix Makefile"));
-
-  installPhase =
-    if withGui
-    then "install -D bitcoin-qt $out/bin/primecoin-qt"
-    else "install -D bitcoind $out/bin/primecoind";
-
-  # `make build/version.o`:
-  # make: *** No rule to make target 'build/build.h', needed by 'build/version.o'.  Stop.
-  enableParallelBuilding = false;
-
-  meta = {
-    description = "A new type cryptocurrency which is proof-of-work based on searching for prime numbers";
-    longDescription= ''
-      Primecoin is an innovative cryptocurrency, a form of digital
-      currency secured by cryptography and issued through a
-      decentralized mining market. Derived from Satoshi Nakamoto's
-      Bitcoin, Primecoin introduces an unique form of proof-of-work
-      based on prime numbers.
-
-      The innovative prime proof-of-work in Primecoin not only
-      provides security and minting to the network, but also generates
-      a special form of prime number chains of interest to mathematical
-      research. Thus primecoin network is energy-multiuse, compared to
-      bitcoin.
-    '';
-    homepage = http://primecoin.io/;
-    maintainers = with maintainers; [ AndersonTorres ];
-    license = licenses.mit;
-    platforms = platforms.unix;
-  };
-}