nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 25 lines 518 B view raw
1{ stdenv 2, fetchFromGitHub 3, autoreconfHook 4}: 5 6stdenv.mkDerivation rec { 7 pname = "libyaml"; 8 version = "0.2.5"; 9 10 src = fetchFromGitHub { 11 owner = "yaml"; 12 repo = "libyaml"; 13 rev = version; 14 sha256 = "18zsnsxc53pans4a01cs4401a2cjk3qi098hi440pj4zijifgcsb"; 15 }; 16 17 nativeBuildInputs = [ autoreconfHook ]; 18 19 meta = with stdenv.lib; { 20 homepage = "https://pyyaml.org/"; 21 description = "A YAML 1.1 parser and emitter written in C"; 22 license = licenses.mit; 23 platforms = platforms.all; 24 }; 25}