Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, 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 outputs = [ "out" "dev" ]; 18 19 nativeBuildInputs = [ autoreconfHook ]; 20 21 meta = with lib; { 22 homepage = "https://pyyaml.org/"; 23 description = "A YAML 1.1 parser and emitter written in C"; 24 license = licenses.mit; 25 platforms = platforms.all; 26 }; 27}