2019-07-16 09:14:15 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2018-08-27 12:24:21 +00:00
|
|
|
|
2019-07-04 09:57:43 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libyaml";
|
2020-06-06 12:04:16 +00:00
|
|
|
version = "0.2.5";
|
2010-01-16 10:37:29 +00:00
|
|
|
|
2019-07-16 09:14:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yaml";
|
|
|
|
repo = "libyaml";
|
|
|
|
rev = version;
|
2020-06-06 12:04:16 +00:00
|
|
|
sha256 = "18zsnsxc53pans4a01cs4401a2cjk3qi098hi440pj4zijifgcsb";
|
2010-01-16 10:37:29 +00:00
|
|
|
};
|
|
|
|
|
2019-07-16 09:14:15 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2014-02-10 18:24:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://pyyaml.org/";
|
2010-01-16 10:37:29 +00:00
|
|
|
description = "A YAML 1.1 parser and emitter written in C";
|
2014-02-10 18:24:25 +00:00
|
|
|
license = licenses.mit;
|
2018-05-17 07:22:31 +00:00
|
|
|
platforms = platforms.all;
|
2010-01-16 10:37:29 +00:00
|
|
|
};
|
|
|
|
}
|