libfyaml: 0.5.7 -> 0.6

This commit is contained in:
Mario Rodas 2021-03-01 04:20:00 +00:00
parent 4e365df3c8
commit f2409d609c
1 changed files with 12 additions and 6 deletions

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";