nixpkgs/pkgs/development/libraries/cista/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
639 B
Nix
Raw Normal View History

2024-04-30 03:54:10 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
2023-03-17 12:15:40 +00:00
stdenv.mkDerivation rec {
pname = "cista";
2024-04-06 00:51:34 +00:00
version = "0.15";
2023-03-17 12:15:40 +00:00
src = fetchFromGitHub {
owner = "felixguendling";
repo = pname;
rev = "v${version}";
2024-04-06 00:51:34 +00:00
sha256 = "sha256-+DcxnckoXVSc+gXt21fxKkx4J1khLsQPuxYH9CBRrfE=";
2023-03-17 12:15:40 +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;
2024-04-30 03:29:42 +00:00
maintainers = [ maintainers.sigmanificient ];
2023-03-17 12:15:40 +00:00
platforms = platforms.all;
};
}