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 | |
parent | e9315d4a1cdc2e9f832eac6a76403a448e8d1abc (diff) | |
download | nixpkgs-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')
-rw-r--r-- | pkgs/development/libraries/libre/default.nix | 22 | ||||
-rw-r--r-- | pkgs/development/libraries/librem/.default.nix.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | pkgs/development/libraries/librem/default.nix | 23 | ||||
-rw-r--r-- | pkgs/development/libraries/spandsp/default.nix | 18 | ||||
-rw-r--r-- | pkgs/development/libraries/srtp/default.nix | 8 |
5 files changed, 69 insertions, 2 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; + }; +} diff --git a/pkgs/development/libraries/librem/.default.nix.swp b/pkgs/development/libraries/librem/.default.nix.swp new file mode 100644 index 00000000000..ad2094919ae --- /dev/null +++ b/pkgs/development/libraries/librem/.default.nix.swp Binary files differdiff --git a/pkgs/development/libraries/librem/default.nix b/pkgs/development/libraries/librem/default.nix new file mode 100644 index 00000000000..e6b22d1ab4d --- /dev/null +++ b/pkgs/development/libraries/librem/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, zlib, openssl, libre}: +stdenv.mkDerivation rec { + version = "0.4.2"; + name = "librem-${version}"; + src=fetchurl { + url = "http://www.creytiv.com/pub/rem-${version}.tar.gz"; + sha256 = "55c66118e3026c5ed42d8b9e0c668149baefe83f1aa76394cddba2d72f45d5c7"; + }; + buildInputs = [zlib openssl libre]; + makeFlags = [ + "LIBRE_MK=${libre}/share/re/re.mk" + "LIBRE_INC=${libre}/include/re" + "SYSROOT=${stdenv.gcc.libc}" + "SYSROOT_ALT=${stdenv.gcc.gcc}" + ''PREFIX=$(out)'' + ]; + meta = { + homepage = "http://www.creytiv.com/rem.html"; + platforms = with stdenv.lib.platforms; linux; + maintainers = with stdenv.lib.maintainers; [raskin]; + license = with stdenv.lib.licenses; bsd3; + }; +} diff --git a/pkgs/development/libraries/spandsp/default.nix b/pkgs/development/libraries/spandsp/default.nix new file mode 100644 index 00000000000..f88ab48e027 --- /dev/null +++ b/pkgs/development/libraries/spandsp/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl, audiofile, libtiff}: +stdenv.mkDerivation rec { + version = "0.0.5"; + name = "spandsp-${version}"; + src=fetchurl { + url = "http://www.soft-switch.org/downloads/spandsp/spandsp-${version}.tgz"; + sha256 = "07f42a237c77b08fa765c3a148c83cdfa267bf24c0ab681d80b90d30dd0b3dbf"; + }; + buildInputs = []; + propagatedBuildInputs = [audiofile libtiff]; + meta = { + homepage = "http://www.creytiv.com/baresip.html"; + platforms = with stdenv.lib.platforms; linux; + maintainers = with stdenv.lib.maintainers; [raskin]; + license = with stdenv.lib.licenses; gpl2; + }; +} + diff --git a/pkgs/development/libraries/srtp/default.nix b/pkgs/development/libraries/srtp/default.nix index 887c0c7c1a3..1b8b654ca80 100644 --- a/pkgs/development/libraries/srtp/default.nix +++ b/pkgs/development/libraries/srtp/default.nix @@ -27,8 +27,12 @@ rec { inherit buildInputs; /* doConfigure should be removed if not needed */ - phaseNames = ["doConfigure" "doMakeInstall"]; - + phaseNames = ["setVars" "doConfigure" "doMakeInstall"]; + + setVars = a.fullDepEntry '' + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC" + '' ["minInit"]; + meta = { description = "Secure RTP"; maintainers = with a.lib.maintainers; |