1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/libraries/flatcc/default.nix
R. RyanTM 668f5c9e6f flatcc: 0.5.2 -> 0.5.3 (#59495)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/flatcc/versions
2019-04-14 22:42:47 +02:00

30 lines
576 B
Nix

{ stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "flatcc";
version = "0.5.3";
src = fetchFromGitHub {
owner = "dvidelabs";
repo = "flatcc";
rev = "v${version}";
sha256 = "06wnwvnkhw1rk0y3nncjmcyjy3bgpw8i9xqd5gpbhbrm38718cjk";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DFLATCC_INSTALL=on"
"-DCMAKE_BUILD_TYPE=Release"
];
meta = {
description = "FlatBuffers Compiler and Library in C for C ";
homepage = https://github.com/dvidelabs/flatcc;
license = [ stdenv.lib.licenses.asl20 ];
};
}