1 { lib, stdenv, fetchFromGitHub, cmake, gbenchmark, gtest }:
3 stdenv.mkDerivation rec {
12 sha256 = "sha256-4SJk4niSpLPjymwTCD0kHOrqpMf+vE3J/O7DiffUSJ4=";
25 # sed -i 's/GTest::main//' test/unittests/CMakeLists.txt
26 # cat test/unittests/CMakeLists.txt
27 # ln -sfv ${gtest.src}/googletest gtest
30 # NOTE: disabling tests due to gtest issue
32 "-DHUNTER_ENABLED=OFF"
33 "-DETHASH_BUILD_TESTS=OFF"
34 #"-Dbenchmark_DIR=${gbenchmark}/lib/cmake/benchmark"
35 #"-DGTest_DIR=${gtest.dev}/lib/cmake/GTest"
36 #"-DGTest_DIR=${gtest.src}/googletest"
37 #"-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake"
41 description = "PoW algorithm for Ethereum 1.0 based on Dagger-Hashimoto";
42 homepage = "https://github.com/ethereum/ethash";
43 platforms = platforms.unix;
44 maintainers = with maintainers; [ ];
45 license = licenses.asl20;