nixpkgs/pkgs/development/libraries/cereal/1.3.2.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

31 lines
732 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cereal";
version = "1.3.2";
src = fetchFromGitHub {
owner = "USCiLab";
repo = "cereal";
rev = "v${finalAttrs.version}";
hash = "sha256-HapnwM5oSNKuqoKm5x7+i2zt0sny8z8CePwobz1ITQs=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DJUST_INSTALL_CEREAL=yes" ];
meta = {
homepage = "https://uscilab.github.io/cereal/";
description = "Header-only C++11 serialization library";
changelog = "https://github.com/USCiLab/cereal/releases/tag/v${finalAttrs.version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.all;
};
})