at 24.11-pre 28 lines 635 B view raw
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "yas"; 5 version = "7.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "niXman"; 9 repo = "yas"; 10 rev = version; 11 hash = "sha256-2+CpftWOEnntYBCc1IoR5eySbmhrMVunpUTZRdQ5I+A="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 mkdir -p $out/include/yas 17 cp -r include/yas/* $out/include/yas 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://github.com/niXman/yas"; 23 description = "Yet Another Serialization"; 24 license = licenses.boost; 25 maintainers = with maintainers; [ ]; 26 platforms = platforms.all; 27 }; 28}