Merge pull request #114798 from marsam/update-libfyaml
libfyaml: 0.5.7 -> 0.6
This commit is contained in:
commit
b2d1130ab2
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user