depot/third_party/nixpkgs/pkgs/development/libraries/yas/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

28 lines
635 B
Nix

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "yas";
version = "7.1.0";
src = fetchFromGitHub {
owner = "niXman";
repo = "yas";
rev = version;
hash = "sha256-2+CpftWOEnntYBCc1IoR5eySbmhrMVunpUTZRdQ5I+A=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/include/yas
cp -r include/yas/* $out/include/yas
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/niXman/yas";
description = "Yet Another Serialization";
license = licenses.boost;
maintainers = with maintainers; [ ];
platforms = platforms.all;
};
}