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";
|
2020-06-06 13:04:16 +01:00
|
|
|
version = "0.2.5";
|
2010-01-16 10:37:29 +00:00
|
|
|
|
2019-07-16 10:14:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yaml";
|
|
|
|
repo = "libyaml";
|
|
|
|
rev = version;
|
2020-06-06 13:04:16 +01:00
|
|
|
sha256 = "18zsnsxc53pans4a01cs4401a2cjk3qi098hi440pj4zijifgcsb";
|
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; {
|
2020-04-01 02:11:51 +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
|
|
|
};
|
|
|
|
}
|