nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 791 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 digestif, 6 sexplib0, 7 mirage-crypto, 8 mirage-crypto-pk, 9 astring, 10 base64, 11}: 12 13buildDunePackage rec { 14 pname = "otr"; 15 version = "1.0.0"; 16 17 minimalOCamlVersion = "4.13"; 18 19 src = fetchurl { 20 url = "https://github.com/hannesm/ocaml-otr/releases/download/v${version}/otr-${version}.tbz"; 21 hash = "sha256-/CcVqLbdylB+LqpKNETkpvQ8SEAIcEFCO1MZqvdmJWU="; 22 }; 23 24 propagatedBuildInputs = [ 25 digestif 26 sexplib0 27 mirage-crypto 28 mirage-crypto-pk 29 astring 30 base64 31 ]; 32 33 doCheck = true; 34 35 meta = { 36 homepage = "https://github.com/hannesm/ocaml-otr"; 37 description = "Off-the-record messaging protocol, purely in OCaml"; 38 license = lib.licenses.bsd2; 39 maintainers = with lib.maintainers; [ sternenseemann ]; 40 }; 41}