depot/third_party/nixpkgs/pkgs/development/libraries/libcyaml/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

26 lines
567 B
Nix

{ stdenv, lib, fetchFromGitHub
, libyaml
}:
stdenv.mkDerivation rec {
pname = "libcyaml";
version = "1.2.0";
src = fetchFromGitHub {
owner = "tlsa";
repo = "libcyaml";
rev = "v${version}";
sha256 = "sha256-LtU1r95YoLuQ2JCphxbMojxKyXnt50XEARGUPftLgsU=";
};
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;
};
}