19 wrapQtAppsHook ? null,
22 stdenv.mkDerivation rec {
26 name = pname + toString (lib.optional (!withGui) "d") + "-" + version;
28 src = fetchFromGitHub {
29 owner = pname + "-project";
30 repo = pname + "-core";
31 rev = "2bd6dba7a822400581d5a6014afd671fb7e61f36";
32 sha256 = "ua9xXA+UQHGVpCZL0srX58DDUgpfNa+AAIKsxZbhvMk=";
36 # Fix build on gcc-13 due to missing <stdexcept> headers
38 name = "gcc-13-p1.patch";
39 url = "https://github.com/vertcoin-project/vertcoin-core/commit/398768769f85cc1b6ff212ed931646b59fa1acd6.patch";
40 hash = "sha256-4nnE4W0Z5HzVaJ6tB8QmyohXmt6UHUGgDH+s9bQaxhg=";
43 name = "gcc-13-p2.patch";
44 url = "https://github.com/vertcoin-project/vertcoin-core/commit/af862661654966d5de614755ab9bd1b5913e0959.patch";
45 hash = "sha256-4hcJIje3VAdEEpn2tetgvgZ8nVft+A64bfWLspQtbVw=";
55 ++ lib.optionals withGui [
68 ++ lib.optionals withGui [
74 enableParallelBuilding = true;
78 "--with-boost-libdir=${boost.out}/lib"
80 ++ lib.optionals withGui [
82 "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
86 description = "Digital currency with mining decentralisation and ASIC resistance as a key focus";
87 homepage = "https://vertcoin.org/";
88 license = licenses.mit;
89 maintainers = [ maintainers.mmahut ];
90 platforms = platforms.linux;