nixpkgs/pkgs/development/libraries/yas/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
642 B
Nix
Raw Normal View History

2023-07-09 01:10:14 +02:00
{ 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; [ ee2500 ];
platforms = platforms.all;
};
}