diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libotr')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libotr/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libotr/default.nix b/nixpkgs/pkgs/development/libraries/libotr/default.nix new file mode 100644 index 000000000000..53699ab7eacd --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libotr/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchurl, libgcrypt, autoreconfHook }: + +stdenv.mkDerivation rec { + pname = "libotr"; + version = "4.1.1"; + + src = fetchurl { + url = "https://otr.cypherpunks.ca/libotr-${version}.tar.gz"; + sha256 = "1x8rliydhbibmzwdbyr7pd7n87m2jmxnqkpvaalnf4154hj1hfwb"; + }; + + outputs = [ "bin" "out" "dev" ]; + + nativeBuildInputs = [ autoreconfHook ]; + propagatedBuildInputs = [ libgcrypt ]; + + meta = with lib; { + homepage = "http://www.cypherpunks.ca/otr/"; + repositories.git = "git://git.code.sf.net/p/otr/libotr"; + license = licenses.lgpl21; + description = "Library for Off-The-Record Messaging"; + platforms = platforms.unix; + }; +} |