urcrypt.nix 581 B

1234567891011121314151617181920
  1. { stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive, pkg-config, openssl, cryptopp, secp256k1, libaes_siv }:
  2. let rev = "43479c3262a11e20da5f6218f3b0b3d63931ceea";
  3. in stdenv.mkDerivation {
  4. pname = "urcrypt";
  5. version = "git-${rev}";
  6. src = fetchFromGitHub {
  7. inherit rev;
  8. owner = "urbit";
  9. repo = "urcrypt";
  10. hash = "sha256-GkhqvhDyhsdzjWpR8uqmhdRdhxdpmLGWXtIUZPAbWZs=";
  11. };
  12. # preConfigure = ''
  13. # ./autogen.sh
  14. # '';
  15. nativeBuildInputs = [autoreconfHook autoconf-archive pkg-config];
  16. buildInputs = [openssl cryptopp secp256k1 libaes_siv];
  17. }