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

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

26 lines
602 B
Nix
Raw Normal View History

2023-03-17 13:15:40 +01:00
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cista";
2023-06-04 09:25:32 +02:00
version = "0.14";
2023-03-17 13:15:40 +01:00
src = fetchFromGitHub {
owner = "felixguendling";
repo = pname;
rev = "v${version}";
2023-06-04 09:25:32 +02:00
sha256 = "sha256-E2B+dNFk0ssKhT9dULNFzpa8auRQ9Q0czuUjX6hxWPw=";
2023-03-17 13:15:40 +01: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-05 02:29:57 +02:00
maintainers = [];
2023-03-17 13:15:40 +01:00
platforms = platforms.all;
};
}