2021-02-13 14:23:35 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub
|
|
|
|
, libyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcyaml";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.4.1";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tlsa";
|
|
|
|
repo = "libcyaml";
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-iS1T8R0SW+qu0TlP5FVlDzUfQitiZMUkbJUigbxeW0Y=";
|
2021-02-13 14:23:35 +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";
|
2021-12-19 01:06:50 +00:00
|
|
|
changelog = "https://github.com/tlsa/libcyaml/raw/v${version}/CHANGES.md";
|
2021-02-13 14:23:35 +00:00
|
|
|
license = licenses.isc;
|
2021-12-19 01:06:50 +00:00
|
|
|
platforms = platforms.unix;
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
}
|