ecrecover/default.nix
2019-12-09 14:03:39 +01:00

21 lines
503 B
Nix

let
stable = import (fetchTarball { # 19.09
url = https://github.com/NixOS/nixpkgs-channels/archive/a22b0189002.tar.gz;
sha256 = "0rgd0cbxg9mrzb830hgjlvy134ivpfcnkyhbnlvvn8vl4y20zqmz";
}) {};
in {
aeternityEnv = stable.stdenv.mkDerivation {
name = "ecrecover";
buildInputs = [
## base
stable.stdenv
## erlang
stable.erlangR21 # OTP 21.3.5.2
## rust, required for building the NIF
stable.rustc
stable.cargo
stable.cmake
];
};
}