Merge pull request #114798 from marsam/update-libfyaml
libfyaml: 0.5.7 -> 0.6
This commit is contained in:
commit
b2d1130ab2
1 changed files with 12 additions and 6 deletions
|
@ -1,15 +1,21 @@
|
||||||
{ lib, stdenv, fetchurl, gnum4 }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libfyaml";
|
pname = "libfyaml";
|
||||||
version = "0.5.7";
|
version = "0.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/pantoniou/libfyaml/releases/download/v${version}/libfyaml-${version}.tar.gz";
|
owner = "pantoniou";
|
||||||
sha256 = "143m30f006jsvhikk9nc050hxzqi8xg0sbd88kjrgfpyncdz689j";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0b1wnalh49rbjykw4bj5k3y1d9yr8k6f0im221bl1gyrwlgw7hp5";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gnum4 ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
echo ${version} > .tarball-version
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/pantoniou/libfyaml";
|
homepage = "https://github.com/pantoniou/libfyaml";
|
||||||
|
|
Loading…
Reference in a new issue