From 501e61350776472f0d6400052101d5cea8bc6412 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 28 May 2020 04:20:00 -0500 Subject: [PATCH] libfyaml: init at 0.5.7 --- .../libraries/libfyaml/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/libfyaml/default.nix diff --git a/pkgs/development/libraries/libfyaml/default.nix b/pkgs/development/libraries/libfyaml/default.nix new file mode 100644 index 000000000000..5ce8cd6c6a1d --- /dev/null +++ b/pkgs/development/libraries/libfyaml/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, gnum4 }: + +stdenv.mkDerivation rec { + pname = "libfyaml"; + version = "0.5.7"; + + src = fetchurl { + url = "https://github.com/pantoniou/libfyaml/releases/download/v${version}/libfyaml-${version}.tar.gz"; + sha256 = "143m30f006jsvhikk9nc050hxzqi8xg0sbd88kjrgfpyncdz689j"; + }; + + nativeBuildInputs = [ gnum4 ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/pantoniou/libfyaml"; + description = "Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e84f95243ed..9f3883b7a36e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12965,6 +12965,8 @@ in libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { }; + libfyaml = callPackage ../development/libraries/libfyaml { }; + libgcrypt = callPackage ../development/libraries/libgcrypt { }; libgcrypt_1_5 = callPackage ../development/libraries/libgcrypt/1.5.nix { };