2014-02-10 18:24:25 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
let
|
2014-04-01 09:30:16 +00:00
|
|
|
version = "0.1.6";
|
2014-02-10 18:24:25 +00:00
|
|
|
in
|
2010-01-16 10:37:29 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-02-10 18:24:25 +00:00
|
|
|
name = "libyaml-${version}";
|
2010-01-16 10:37:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-02-10 18:24:25 +00:00
|
|
|
url = "http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz";
|
2014-04-01 09:30:16 +00:00
|
|
|
sha256 = "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx";
|
2010-01-16 10:37:29 +00:00
|
|
|
};
|
|
|
|
|
2014-02-10 18:24:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-01-16 10:37:29 +00:00
|
|
|
homepage = http://pyyaml.org/;
|
|
|
|
description = "A YAML 1.1 parser and emitter written in C";
|
2014-02-10 18:24:25 +00:00
|
|
|
license = licenses.mit;
|
2010-01-16 10:37:29 +00:00
|
|
|
};
|
|
|
|
}
|