summary refs log tree commit diff
path: root/pkgs/development/libraries/spandsp
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2020-11-18 17:06:42 +0100
committerajs124 <git@ajs124.de>2020-11-18 17:13:29 +0100
commit4897c239043d372b17d0232f9aae7a305de81d48 (patch)
tree2799debe0354cfd19f4b34c90e9160fd5da59857 /pkgs/development/libraries/spandsp
parent99b47e71117510f59a7d0592ef9d1fe31c5e1613 (diff)
downloadnixpkgs-4897c239043d372b17d0232f9aae7a305de81d48.tar
nixpkgs-4897c239043d372b17d0232f9aae7a305de81d48.tar.gz
nixpkgs-4897c239043d372b17d0232f9aae7a305de81d48.tar.bz2
nixpkgs-4897c239043d372b17d0232f9aae7a305de81d48.tar.lz
nixpkgs-4897c239043d372b17d0232f9aae7a305de81d48.tar.xz
nixpkgs-4897c239043d372b17d0232f9aae7a305de81d48.tar.zst
nixpkgs-4897c239043d372b17d0232f9aae7a305de81d48.zip
spandsp3: init at 3.0.0
Diffstat (limited to 'pkgs/development/libraries/spandsp')
-rw-r--r--pkgs/development/libraries/spandsp/3.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/spandsp/3.nix b/pkgs/development/libraries/spandsp/3.nix
new file mode 100644
index 00000000000..ac587f0492b
--- /dev/null
+++ b/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;
+  };
+}