diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/cista/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/cista/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/cista/default.nix b/nixpkgs/pkgs/development/libraries/cista/default.nix new file mode 100644 index 000000000000..862a74c596a3 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/cista/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "cista"; + version = "0.14"; + + src = fetchFromGitHub { + owner = "felixguendling"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-E2B+dNFk0ssKhT9dULNFzpa8auRQ9Q0czuUjX6hxWPw="; + }; + + 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; + }; +} |