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