diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/spandsp')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/spandsp/3.nix | 24 | ||||
-rw-r--r-- | nixpkgs/pkgs/development/libraries/spandsp/default.nix | 23 |
2 files changed, 47 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/spandsp/3.nix b/nixpkgs/pkgs/development/libraries/spandsp/3.nix new file mode 100644 index 000000000000..ac587f0492b0 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/spandsp/3.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, audiofile, libtiff, autoreconfHook }: +stdenv.mkDerivation rec { + version = "3.0.0"; + pname = "spandsp"; + src = fetchFromGitHub { + owner = "freeswitch"; + repo = pname; + rev = "6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6"; # upstream does not seem to believe in tags + sha256 = "03w0s99y3zibi5fnvn8lk92dggfgrr0mz5255745jfbz28b2d5y7"; + }; + + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ autoreconfHook ]; + propagatedBuildInputs = [ audiofile libtiff ]; + + meta = { + description = "A portable and modular SIP User-Agent with audio and video support"; + homepage = "https://github.com/freeswitch/spandsp"; + platforms = with stdenv.lib.platforms; linux; + maintainers = with stdenv.lib.maintainers; [ ajs124 ]; + license = stdenv.lib.licenses.gpl2; + }; +} diff --git a/nixpkgs/pkgs/development/libraries/spandsp/default.nix b/nixpkgs/pkgs/development/libraries/spandsp/default.nix new file mode 100644 index 000000000000..1f9834c08f47 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/spandsp/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, audiofile, libtiff}: +stdenv.mkDerivation rec { + version = "0.0.6"; + pname = "spandsp"; + src=fetchurl { + url = "https://www.soft-switch.org/downloads/spandsp/spandsp-${version}.tar.gz"; + sha256 = "0rclrkyspzk575v8fslzjpgp4y2s4x7xk3r55ycvpi4agv33l1fc"; + }; + + outputs = [ "out" "dev" ]; + + propagatedBuildInputs = [audiofile libtiff]; + meta = { + description = "A portable and modular SIP User-Agent with audio and video support"; + homepage = "http://www.creytiv.com/baresip.html"; + platforms = with stdenv.lib.platforms; linux; + maintainers = with stdenv.lib.maintainers; [raskin]; + license = stdenv.lib.licenses.gpl2; + downloadPage = "http://www.soft-switch.org/downloads/spandsp/"; + inherit version; + updateWalker = true; + }; +} |