From 2856b0e66cb0c253fb5e880dd7ddc290fca9aa21 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 17 Nov 2014 01:35:41 +0100 Subject: [PATCH] websocketpp: Add new package, version 0.4.0. Required as a dependency of the Tomahawk music player. Signed-off-by: aszlig --- .../libraries/websocket++/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/websocket++/default.nix diff --git a/pkgs/development/libraries/websocket++/default.nix b/pkgs/development/libraries/websocket++/default.nix new file mode 100644 index 000000000000..0db201fefcdd --- /dev/null +++ b/pkgs/development/libraries/websocket++/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + name = "websocket++-${version}"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "zaphoyd"; + repo = "websocketpp"; + rev = version; + sha256 = "1n6j0dh3qpis0f7crd49a2nhxd5459h0blch408z3kwlasx2g0i5"; + }; + + buildInputs = [ cmake ]; + + meta = { + homepage = "http://www.zaphoyd.com/websocketpp/"; + description = "C++/Boost Asio based websocket client/server library"; + license = stdenv.lib.licenses.BSD3; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 18e7455eb10b..8a9e59ec099d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7000,6 +7000,8 @@ let enableIntrospection = false; }; + websocketpp = callPackage ../development/libraries/websocket++ { }; + wildmidi = callPackage ../development/libraries/wildmidi { }; wvstreams = callPackage ../development/libraries/wvstreams { };