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