26 lines
518 B
Nix
26 lines
518 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libyaml";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yaml";
|
|
repo = "libyaml";
|
|
rev = version;
|
|
sha256 = "0839nqcmxjzfgjn39j7740pnlsgmvngpkamiw1lfy1qlcqyc3r4v";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://pyyaml.org/";
|
|
description = "A YAML 1.1 parser and emitter written in C";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|