2019-07-16 10:14:15 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2018-08-27 13:24:21 +01:00
|
|
|
|
2019-07-04 10:57:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libyaml";
|
|
|
|
version = "0.2.2";
|
2010-01-16 10:37:29 +00:00
|
|
|
|
2019-07-16 10:14:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yaml";
|
|
|
|
repo = "libyaml";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0839nqcmxjzfgjn39j7740pnlsgmvngpkamiw1lfy1qlcqyc3r4v";
|
2010-01-16 10:37:29 +00:00
|
|
|
};
|
|
|
|
|
2019-07-16 10:14:15 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2014-02-10 18:24:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-07-06 02:35:28 +01: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 08:22:31 +01:00
|
|
|
platforms = platforms.all;
|
2010-01-16 10:37:29 +00:00
|
|
|
};
|
|
|
|
}
|