depot/third_party/nixpkgs/pkgs/development/libraries/yas/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

28 lines
617 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 = [ ];
platforms = platforms.all;
};
}