diff --git a/pkgs/development/libraries/libgcrypt/default.nix b/pkgs/development/libraries/libgcrypt/default.nix new file mode 100644 index 000000000000..bb71e8f8499c --- /dev/null +++ b/pkgs/development/libraries/libgcrypt/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, libgpgerror}: + +stdenv.mkDerivation { + name = "libgcrypt-1.2.4"; + src = fetchurl { + url = ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.2.4.tar.gz; + sha256 = "1v6rbx2jpwvh9jwf8n91da2p66v2gzmym6s3h1fidfdy7qqkyg6g"; + }; + + buildInputs = [libgpgerror]; +} diff --git a/pkgs/development/libraries/libotr/default.nix b/pkgs/development/libraries/libotr/default.nix new file mode 100644 index 000000000000..092dad800808 --- /dev/null +++ b/pkgs/development/libraries/libotr/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, libgcrypt}: + +stdenv.mkDerivation { + name = "libotr-3.1.0"; + src = fetchurl { + url = http://www.cypherpunks.ca/otr/libotr-3.1.0.tar.gz; + sha256 = "1x3y5nvqcg9a0lx630cvkjpwv7mmwxpy4pcjfm6fbiqylaxn05bj"; + }; + + buildInputs = [libgcrypt]; +}