nixpkgs/pkgs/development/libraries/websocket++/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
577 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "websocket++";
version = "0.8.1";
src = fetchFromGitHub {
owner = "zaphoyd";
repo = "websocketpp";
rev = version;
sha256 = "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy";
};
buildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = https://www.zaphoyd.com/websocketpp/;
description = "C++/Boost Asio based websocket client/server library";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ andir ];
};
}