python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / networking-ts-cxx / default.nix
blob7dc6d4b11fee28324d3f93b6a2695add2ebc6fca
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "networking-ts-cxx";
5   version = "2019-02-27";
7   # Used until https://github.com/chriskohlhoff/networking-ts-impl/issues/17 is
8   # resolved and we can generate in Nix.
9   src = fetchFromGitHub {
10     owner = "chriskohlhoff";
11     repo = "networking-ts-impl";
12     rev = "c97570e7ceef436581be3c138868a19ad96e025b";
13     sha256 = "12b5lg989nn1b8v6x9fy3cxsf3hs5hr67bd1mfyh8pjikir7zv6j";
14   };
16   installPhase = ''
17     mkdir -p $out/{include,lib/pkgconfig}
18     cp -r include $out/
19     substituteAll ${./networking_ts.pc.in} $out/lib/pkgconfig/networking_ts.pc
20   '';
22   meta = with lib; {
23     description = "Experimental implementation of the C++ Networking Technical Specification";
24     homepage = "https://github.com/chriskohlhoff/networking-ts-impl";
25     license = licenses.boost;
26     maintainers = with maintainers; [ bhipple ];
27   };