fast-cpp-csv-parser: init at 2021-01-03
This commit is contained in:
parent
5666f34b28
commit
78e40c4a06
3 changed files with 36 additions and 0 deletions
26
pkgs/development/libraries/fast-cpp-csv-parser/default.nix
Normal file
26
pkgs/development/libraries/fast-cpp-csv-parser/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fast-cpp-csv-parser";
|
||||
version = "2021-01-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ben-strasser";
|
||||
repo = pname;
|
||||
rev = "75600d0b77448e6c410893830df0aec1dbacf8e3";
|
||||
sha256 = "04kalwgsr8khqr1j5j13vzwaml268c5dvc9wfcwfs13wp3snqwf2";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/pkgconfig $out/include
|
||||
cp -r *.h $out/include/
|
||||
substituteAll ${./fast-cpp-csv-parser.pc.in} $out/lib/pkgconfig/fast-cpp-csv-parser.pc
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A small, easy-to-use and fast header-only library for reading comma separated value (CSV) files";
|
||||
homepage = "https://github.com/ben-strasser/fast-cpp-csv-parser";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
prefix=@out@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: fast-cpp-csv-parser
|
||||
Description: Fast header-only library for reading CSV files
|
||||
URL: https://github.com/ben-strasser/fast-cpp-csv-parser
|
||||
Version: @version@
|
||||
Cflags: -isystem${includedir}
|
|
@ -2191,6 +2191,8 @@ in
|
|||
|
||||
fast-cli = nodePackages.fast-cli;
|
||||
|
||||
fast-cpp-csv-parser = callPackage ../development/libraries/fast-cpp-csv-parser { };
|
||||
|
||||
faudio = callPackage ../development/libraries/faudio { };
|
||||
|
||||
fd = callPackage ../tools/misc/fd { };
|
||||
|
|
Loading…
Reference in a new issue