diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-08-04 10:43:07 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-08-04 10:43:07 +0000 |
commit | 62614cbef7da005c1eda8c9400160f6bcd6546b8 (patch) | |
tree | c2630f69080637987b68acb1ee8676d2681fe304 /pkgs/development/libraries/ethash/default.nix | |
parent | d9c82ed3044c72cecf01c6ea042489d30914577c (diff) | |
parent | e24069138dfec3ef94f211f1da005bb5395adc11 (diff) | |
download | nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.gz nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.bz2 nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.lz nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.xz nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.zst nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.zip |
Merge branch 'nixpkgs-update' into master
Diffstat (limited to 'pkgs/development/libraries/ethash/default.nix')
-rw-r--r-- | pkgs/development/libraries/ethash/default.nix | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/pkgs/development/libraries/ethash/default.nix b/pkgs/development/libraries/ethash/default.nix index 3522ff231ab..dcb10b8ba08 100644 --- a/pkgs/development/libraries/ethash/default.nix +++ b/pkgs/development/libraries/ethash/default.nix @@ -1,32 +1,21 @@ -{ stdenv, fetchFromGitHub, cmake, boost, cryptopp, opencl-headers, opencl-info, - openmpi, ocl-icd, mesa, gbenchmark, gtest }: +{ lib, stdenv, fetchFromGitHub, cmake, gbenchmark, gtest }: stdenv.mkDerivation rec { pname = "ethash"; - version = "0.4.4"; + version = "0.6.0"; src = fetchFromGitHub { owner = "chfast"; repo = "ethash"; rev = "v${version}"; - sha256 = "1gfs8s4nv2ikkn3rhzifr0dx5m0c1kpnhmzf8x6zlwhw3qwlc98w"; + sha256 = "sha256-N30v9OZwTmDbltPPmeSa0uOGJhos1VzyS5zY9vVCWfA="; }; nativeBuildInputs = [ cmake ]; - buildInputs = [ - boost - cryptopp - opencl-headers - opencl-info - openmpi - ocl-icd - mesa - ]; - checkInputs = [ gbenchmark gtest @@ -48,11 +37,11 @@ stdenv.mkDerivation rec { #"-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "PoW algorithm for Ethereum 1.0 based on Dagger-Hashimoto"; homepage = "https://github.com/ethereum/ethash"; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ nand0p ]; + platforms = platforms.unix; + maintainers = with maintainers; [ ]; license = licenses.asl20; }; } |