depot/third_party/nixpkgs/pkgs/development/libraries/libcyaml/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

27 lines
645 B
Nix

{ stdenv, lib, fetchFromGitHub
, libyaml
}:
stdenv.mkDerivation rec {
pname = "libcyaml";
version = "1.4.1";
src = fetchFromGitHub {
owner = "tlsa";
repo = "libcyaml";
rev = "v${version}";
sha256 = "sha256-iS1T8R0SW+qu0TlP5FVlDzUfQitiZMUkbJUigbxeW0Y=";
};
buildInputs = [ libyaml ];
makeFlags = [ "VARIANT=release" "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/tlsa/libcyaml";
description = "C library for reading and writing YAML";
changelog = "https://github.com/tlsa/libcyaml/raw/v${version}/CHANGES.md";
license = licenses.isc;
platforms = platforms.unix;
};
}