librewolf: 132.0.1 -> 132.0.1-1 (#355483)
[NixPkgs.git] / pkgs / by-name / li / libcyaml / package.nix
bloba1bbd17753cab9de526c2a56ea18857817b40d0f
1 { stdenv, lib, fetchFromGitHub
2 , libyaml
3 }:
5 stdenv.mkDerivation rec {
6   pname = "libcyaml";
7   version = "1.4.2";
9   src = fetchFromGitHub {
10     owner = "tlsa";
11     repo = "libcyaml";
12     rev = "v${version}";
13     hash = "sha256-JIN/cvh9PRl4/K0Z3WZtSCA3casBxyaxNxjXZZdQRWQ=";
14   };
16   buildInputs = [ libyaml ];
18   makeFlags = [ "VARIANT=release" "PREFIX=$(out)" ];
20   meta = with lib; {
21     homepage = "https://github.com/tlsa/libcyaml";
22     description = "C library for reading and writing YAML";
23     changelog = "https://github.com/tlsa/libcyaml/raw/v${version}/CHANGES.md";
24     license = licenses.isc;
25     platforms = platforms.unix;
26   };