2020-09-26 16:19:40 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub
|
|
|
|
, libyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcyaml";
|
2021-07-03 23:47:15 +00:00
|
|
|
version = "1.2.0";
|
2020-09-26 16:19:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tlsa";
|
|
|
|
repo = "libcyaml";
|
|
|
|
rev = "v${version}";
|
2021-07-03 23:47:15 +00:00
|
|
|
sha256 = "sha256-LtU1r95YoLuQ2JCphxbMojxKyXnt50XEARGUPftLgsU=";
|
2020-09-26 16:19:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libyaml ];
|
|
|
|
|
|
|
|
makeFlags = [ "VARIANT=release" "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/tlsa/libcyaml";
|
|
|
|
description = "C library for reading and writing YAML";
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|