fcc03dbfc5
GitOrigin-RevId: ff96a0fa5635770390b184ae74debea75c3fd534
26 lines
568 B
Nix
26 lines
568 B
Nix
{ stdenv, lib, fetchFromGitHub
|
|
, libyaml
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libcyaml";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tlsa";
|
|
repo = "libcyaml";
|
|
rev = "v${version}";
|
|
sha256 = "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|