diff options
author | Adam Beckmeyer <adam_git@thebeckmeyers.xyz> | 2017-02-09 20:27:13 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-10 02:22:15 +0100 |
commit | 400048926602dfe559207123267b183ac7e97c6b (patch) | |
tree | 6d0825cac08c2244719bf567215ae7d08b563724 /pkgs/development/libraries/olm | |
parent | a5e041ac085f8b4d3aec2f68ad8fd3e96becd108 (diff) |
olm: init at 2.2.1
Diffstat (limited to 'pkgs/development/libraries/olm')
-rw-r--r-- | pkgs/development/libraries/olm/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/olm/default.nix b/pkgs/development/libraries/olm/default.nix new file mode 100644 index 0000000000000..db4a82290645d --- /dev/null +++ b/pkgs/development/libraries/olm/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "olm-${version}"; + version = "2.2.1"; + + meta = { + description = "Implements double cryptographic ratchet and Megolm ratchet"; + license = stdenv.lib.licenses.asl20; + homepage = "https://matrix.org/git/olm/about"; + }; + + src = fetchurl { + url = "https://matrix.org/git/olm/snapshot/${name}.tar.gz"; + sha256 = "1spgsjmsw8afm2hg1mrq9c7cli3p17wl0ns7qbzn0h6ksh193709"; + }; + + doCheck = true; + checkTarget = "test"; + + installFlags = "PREFIX=$(out)"; +} |