2023-03-24 00:07:29 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cista";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.14";
|
2023-03-24 00:07:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "felixguendling";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-E2B+dNFk0ssKhT9dULNFzpa8auRQ9Q0czuUjX6hxWPw=";
|
2023-03-24 00:07:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2023-04-12 12:48:02 +00:00
|
|
|
maintainers = [];
|
2023-03-24 00:07:29 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|