Merge pull request #78156 from mmahut/vertcoin
vertcoin: init at 0.14.0
This commit is contained in:
commit
85dc47b441
69
pkgs/applications/blockchains/vertcoin.nix
Normal file
69
pkgs/applications/blockchains/vertcoin.nix
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, openssl
|
||||||
|
, boost
|
||||||
|
, libevent
|
||||||
|
, autoreconfHook
|
||||||
|
, db4
|
||||||
|
, pkgconfig
|
||||||
|
, protobuf
|
||||||
|
, hexdump
|
||||||
|
, zeromq
|
||||||
|
, withGui
|
||||||
|
, qtbase ? null
|
||||||
|
, qttools ? null
|
||||||
|
, wrapQtAppsHook ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "vertcoin";
|
||||||
|
version = "0.14.0";
|
||||||
|
|
||||||
|
name = pname + toString (optional (!withGui) "d") + "-" + version;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = pname + "-project";
|
||||||
|
repo = pname + "-core";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "00vnmrhn5mad58dyiz8rxgsrn0663ii6fdbcqm20mv1l313k4882";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkgconfig
|
||||||
|
hexdump
|
||||||
|
] ++ optionals withGui [
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
boost
|
||||||
|
libevent
|
||||||
|
db4
|
||||||
|
zeromq
|
||||||
|
] ++ optionals withGui [
|
||||||
|
qtbase
|
||||||
|
qttools
|
||||||
|
protobuf
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-boost-libdir=${boost.out}/lib"
|
||||||
|
] ++ optionals withGui [
|
||||||
|
"--with-gui=qt5"
|
||||||
|
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A digital currency with mining decentralisation and ASIC resistance as a key focus";
|
||||||
|
homepage = "https://vertcoin.org/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.mmahut ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -22735,6 +22735,9 @@ in
|
|||||||
|
|
||||||
sumokoin = callPackage ../applications/blockchains/sumokoin.nix { boost = boost165; };
|
sumokoin = callPackage ../applications/blockchains/sumokoin.nix { boost = boost165; };
|
||||||
|
|
||||||
|
vertcoin = libsForQt5.callPackage ../applications/blockchains/vertcoin.nix { boost = boost165; withGui = true; };
|
||||||
|
vertcoind = callPackage ../applications/blockchains/vertcoin.nix { boost = boost165; withGui = false; };
|
||||||
|
|
||||||
wasabiwallet = callPackage ../applications/blockchains/wasabiwallet { };
|
wasabiwallet = callPackage ../applications/blockchains/wasabiwallet { };
|
||||||
|
|
||||||
wownero = callPackage ../applications/blockchains/wownero.nix {};
|
wownero = callPackage ../applications/blockchains/wownero.nix {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user