diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-09-24 21:02:19 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-09-24 21:03:02 +0400 |
commit | 732811700a849e53b4411ec9395b12c3ce5277db (patch) | |
tree | 0e574d3d7e345faf9dad08682d19ecea9dfdd496 /pkgs/development/libraries/libre | |
parent | e9315d4a1cdc2e9f832eac6a76403a448e8d1abc (diff) |
Added BareSIP
Diffstat (limited to 'pkgs/development/libraries/libre')
-rw-r--r-- | pkgs/development/libraries/libre/default.nix | 22 |
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 0000000000000..208744fcddef1 --- /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; + }; +} |