summary refs log tree commit diff
path: root/pkgs/development/libraries/mumlib
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2019-02-10 18:30:16 +0100
committerJanne Heß <janne@hess.ooo>2019-07-16 16:18:14 +0200
commit1808b1eb67b039d4027a935aa090e585bf9e50c0 (patch)
tree59e78316d7d634814a737ac7da43e433f20aaa38 /pkgs/development/libraries/mumlib
parent00ef72610c82dd0ea69f2bc3f70445483acca0d0 (diff)
downloadnixpkgs-1808b1eb67b039d4027a935aa090e585bf9e50c0.tar
nixpkgs-1808b1eb67b039d4027a935aa090e585bf9e50c0.tar.gz
nixpkgs-1808b1eb67b039d4027a935aa090e585bf9e50c0.tar.bz2
nixpkgs-1808b1eb67b039d4027a935aa090e585bf9e50c0.tar.lz
nixpkgs-1808b1eb67b039d4027a935aa090e585bf9e50c0.tar.xz
nixpkgs-1808b1eb67b039d4027a935aa090e585bf9e50c0.tar.zst
nixpkgs-1808b1eb67b039d4027a935aa090e585bf9e50c0.zip
mumsi: Init at git-2019-02-10
Diffstat (limited to 'pkgs/development/libraries/mumlib')
-rw-r--r--pkgs/development/libraries/mumlib/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mumlib/default.nix b/pkgs/development/libraries/mumlib/default.nix
new file mode 100644
index 00000000000..7117599d15e
--- /dev/null
+++ b/pkgs/development/libraries/mumlib/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
+, boost, openssl, log4cpp, libopus, protobuf }:
+with lib; stdenv.mkDerivation rec {
+  pname = "mumlib";
+  version = "unstable-2018-12-12";
+
+  src = fetchFromGitHub {
+    owner = "slomkowski";
+    repo = "mumlib";
+    rev = "f91720de264c0ab5e02bb30deafc5c4b2c245eac";
+    sha256 = "0p29z8379dp2ra0420x8xjp4d3r2mf680lj38xmlc8npdzqjqjdp";
+  };
+
+  buildInputs = [ boost openssl libopus protobuf log4cpp ];
+  nativeBuildInputs = [ cmake pkgconfig ];
+  installPhase = ''
+    install -Dm555 libmumlib.so $out/lib/libmumlib.so
+    cp -a ../include $out
+  '';
+
+  meta = {
+    description = "Fairy simple Mumble library written in C++, using boost::asio asynchronous networking framework";
+    homepage = "https://github.com/slomkowski/mumlib";
+    maintainers = with maintainers; [ das_j ];
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}