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";
17 mkdir -p $out/{include,lib/pkgconfig}
19 substituteAll ${./networking_ts.pc.in} $out/lib/pkgconfig/networking_ts.pc
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 ];