Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 23 lines 586 B view raw
1{ lib, fetchurl, buildDunePackage, dune-configurator, libX11 }: 2 3buildDunePackage rec { 4 5 pname = "graphics"; 6 version = "5.1.2"; 7 8 useDune2 = true; 9 10 src = fetchurl { 11 url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz"; 12 sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ="; 13 }; 14 15 buildInputs = [ dune-configurator ]; 16 propagatedBuildInputs = [ libX11 ]; 17 18 meta = { 19 homepage = "https://github.com/ocaml/graphics"; 20 description = "A set of portable drawing primitives"; 21 license = lib.licenses.lgpl2; 22 }; 23}