Merge pull request #109412 from obsidiansystems/networking-ts-cxx-init
networking-ts-cxx: init at 2019-02-27
This commit is contained in:
commit
f86e72d491
28
pkgs/development/libraries/networking-ts-cxx/default.nix
Normal file
28
pkgs/development/libraries/networking-ts-cxx/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "networking-ts-cxx";
|
||||
version = "2019-02-27";
|
||||
|
||||
# Used until https://github.com/chriskohlhoff/networking-ts-impl/issues/17 is
|
||||
# resolved and we can generate in Nix.
|
||||
src = fetchFromGitHub {
|
||||
owner = "chriskohlhoff";
|
||||
repo = "networking-ts-impl";
|
||||
rev = "c97570e7ceef436581be3c138868a19ad96e025b";
|
||||
sha256 = "12b5lg989nn1b8v6x9fy3cxsf3hs5hr67bd1mfyh8pjikir7zv6j";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{include,lib/pkgconfig}
|
||||
cp -r include $out/
|
||||
substituteAll ${./networking_ts.pc.in} $out/lib/pkgconfig/networking_ts.pc
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Experimental implementation of the C++ Networking Technical Specification";
|
||||
homepage = "https://github.com/chriskohlhoff/networking-ts-impl";
|
||||
license = licenses.boost;
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
prefix=@out@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: networking_ts
|
||||
Description: Experimental implementation of the C++ Networking Technical Specification
|
||||
URL: https://github.com/chriskohlhoff/networking-ts-impl
|
||||
Version: ${networking_ts_version}
|
||||
Cflags: -isystem${includedir}
|
|
@ -6320,6 +6320,8 @@ in
|
|||
|
||||
netcdffortran = callPackage ../development/libraries/netcdf-fortran { };
|
||||
|
||||
networking-ts-cxx = callPackage ../development/libraries/networking-ts-cxx { };
|
||||
|
||||
nco = callPackage ../development/libraries/nco { };
|
||||
|
||||
ncftp = callPackage ../tools/networking/ncftp { };
|
||||
|
|
Loading…
Reference in a new issue