nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "cista";
10 version = "0.16";
11
12 src = fetchFromGitHub {
13 owner = "felixguendling";
14 repo = "cista";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-Q7IDQckFa/iMZ/f3Bim/yWyKCGqsNxJJ5C9PTToFZYI=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 cmakeFlags = [ "-DCISTA_INSTALL=ON" ];
22
23 meta = {
24 homepage = "https://cista.rocks";
25 description = "Simple, high-performance, zero-copy C++ serialization & reflection library";
26 license = lib.licenses.mit;
27 maintainers = [ lib.maintainers.sigmanificient ];
28 platforms = lib.platforms.all;
29 };
30})