mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
e29cf29086
The archive that was used turned out to be incorrect. https://github.com/yaml/pyyaml/issues/320 By now a correct tarball has been uploaded but in order to prevent issues like these we fetch now instead from GitHub.
26 lines
516 B
Nix
26 lines
516 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;
|
|
};
|
|
}
|