summary refs log tree commit diff
path: root/pkgs/development/libraries/libre
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2012-09-24 21:02:19 +0400
committerMichael Raskin <7c6f434c@mail.ru>2012-09-24 21:03:02 +0400
commit732811700a849e53b4411ec9395b12c3ce5277db (patch)
tree0e574d3d7e345faf9dad08682d19ecea9dfdd496 /pkgs/development/libraries/libre
parente9315d4a1cdc2e9f832eac6a76403a448e8d1abc (diff)
downloadnixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar
nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.gz
nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.bz2
nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.lz
nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.xz
nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.tar.zst
nixpkgs-732811700a849e53b4411ec9395b12c3ce5277db.zip
Added BareSIP
Diffstat (limited to 'pkgs/development/libraries/libre')
-rw-r--r--pkgs/development/libraries/libre/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libre/default.nix b/pkgs/development/libraries/libre/default.nix
new file mode 100644
index 00000000000..208744fcdde
--- /dev/null
+++ b/pkgs/development/libraries/libre/default.nix
@@ -0,0 +1,22 @@
+{stdenv, fetchurl, zlib, openssl}:
+stdenv.mkDerivation rec {
+  version = "0.4.2";
+  name = "libre-${version}";
+  src=fetchurl {
+    url = "http://www.creytiv.com/pub/re-${version}.tar.gz";
+    sha256 = "1c99ygs46qhd4a0ardxhdyjaw5p8clhzmsm8jydqxnmbakwy518m";
+  };
+  buildInputs = [zlib openssl];
+  makeFlags = [
+    "USE_ZLIB=1" "USE_OPENSSL=1" 
+    "SYSROOT=${stdenv.gcc.libc}"
+    "SYSROOT_ALT=${stdenv.gcc.gcc}"
+    ''PREFIX=$(out)''
+  ];
+  meta = {
+    homepage = "http://www.creytiv.com/re.html";
+    platforms = with stdenv.lib.platforms; linux;
+    maintainers = with stdenv.lib.maintainers; [raskin];
+    license = with stdenv.lib.licenses; bsd3;
+  };
+}