depot/third_party/nixpkgs/pkgs/development/libraries/cista/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

25 lines
602 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cista";
version = "0.13";
src = fetchFromGitHub {
owner = "felixguendling";
repo = pname;
rev = "v${version}";
sha256 = "sha256-dQOVmKRXfApN0QRx/PmLVzeCGppFJBnNWIOoLbDbrds=";
};
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;
};
}