nixpkgs/pkgs/development/libraries/libcyaml/default.nix

28 lines
645 B
Nix
Raw Normal View History

2020-09-26 18:19:40 +02:00
{ stdenv, lib, fetchFromGitHub
, libyaml
}:
stdenv.mkDerivation rec {
pname = "libcyaml";
2021-12-07 11:19:29 +01:00
version = "1.3.0";
2020-09-26 18:19:40 +02:00
src = fetchFromGitHub {
owner = "tlsa";
repo = "libcyaml";
rev = "v${version}";
2021-12-07 11:19:29 +01:00
sha256 = "sha256-8Dd6LQovPx+y2957zY8blA0ls10ekGvTCeKmLyHZnOI=";
2020-09-26 18:19:40 +02: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-08 05:20:00 +01:00
changelog = "https://github.com/tlsa/libcyaml/raw/v${version}/CHANGES.md";
2020-09-26 18:19:40 +02:00
license = licenses.isc;
2021-12-08 05:20:00 +01:00
platforms = platforms.unix;
2020-09-26 18:19:40 +02:00
};
}