ares/rust/nix/urcrypt.nix

21 lines
581 B
Nix
Raw Permalink Normal View History

2023-12-05 18:54:18 +03:00
{ stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive, pkg-config, openssl, cryptopp, secp256k1, libaes_siv }:
let rev = "43479c3262a11e20da5f6218f3b0b3d63931ceea";
in stdenv.mkDerivation {
pname = "urcrypt";
version = "git-${rev}";
src = fetchFromGitHub {
inherit rev;
owner = "urbit";
repo = "urcrypt";
2023-12-05 18:54:18 +03:00
hash = "sha256-GkhqvhDyhsdzjWpR8uqmhdRdhxdpmLGWXtIUZPAbWZs=";
};
2023-12-05 18:54:18 +03:00
# preConfigure = ''
# ./autogen.sh
# '';
2023-12-05 18:54:18 +03:00
nativeBuildInputs = [autoreconfHook autoconf-archive pkg-config];
buildInputs = [openssl cryptopp secp256k1 libaes_siv];
}