Merge pull request #114798 from marsam/update-libfyaml

libfyaml: 0.5.7 -> 0.6
This commit is contained in:
Mario Rodas 2021-03-01 23:13:44 -05:00 committed by GitHub
commit b2d1130ab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,21 @@
{ lib, stdenv, fetchurl, gnum4 }:
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libfyaml";
version = "0.5.7";
version = "0.6";
src = fetchurl {
url = "https://github.com/pantoniou/libfyaml/releases/download/v${version}/libfyaml-${version}.tar.gz";
sha256 = "143m30f006jsvhikk9nc050hxzqi8xg0sbd88kjrgfpyncdz689j";
src = fetchFromGitHub {
owner = "pantoniou";
repo = pname;
rev = "v${version}";
sha256 = "0b1wnalh49rbjykw4bj5k3y1d9yr8k6f0im221bl1gyrwlgw7hp5";
};
nativeBuildInputs = [ gnum4 ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
postPatch = ''
echo ${version} > .tarball-version
'';
meta = with lib; {
homepage = "https://github.com/pantoniou/libfyaml";