depot/third_party/nixpkgs/pkgs/development/libraries/cista/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

25 lines
602 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cista";
version = "0.14";
src = fetchFromGitHub {
owner = "felixguendling";
repo = pname;
rev = "v${version}";
sha256 = "sha256-E2B+dNFk0ssKhT9dULNFzpa8auRQ9Q0czuUjX6hxWPw=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DCISTA_INSTALL=ON" ];
meta = with lib; {
homepage = "https://cista.rocks";
description = "A simple, high-performance, zero-copy C++ serialization & reflection library";
license = licenses.mit;
maintainers = [];
platforms = platforms.all;
};
}