Merge pull request #98872 from suhr/libcyaml

libcyaml: init at 1.1.0
This commit is contained in:
Sandro 2021-02-10 15:00:01 +01:00 committed by GitHub
commit cc0da25d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ 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;
};
}

View file

@ -15664,6 +15664,8 @@ in
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };
libcyaml = callPackage ../development/libraries/libcyaml { };
rang = callPackage ../development/libraries/rang { };
libyamlcpp_0_3 = pkgs.libyamlcpp.overrideAttrs (oldAttrs: {