nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 597 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 dune-configurator, 6 libX11, 7 libXft, 8}: 9 10buildDunePackage (finalAttrs: { 11 pname = "graphics"; 12 version = "5.2.0"; 13 14 src = fetchFromGitHub { 15 owner = "ocaml"; 16 repo = "graphics"; 17 tag = finalAttrs.version; 18 hash = "sha256-0lpeZW1U//J5lH04x2ReBeug4s79KCyb5QYaiVgcBZI="; 19 }; 20 21 buildInputs = [ dune-configurator ]; 22 propagatedBuildInputs = [ 23 libX11 24 libXft 25 ]; 26 27 meta = { 28 homepage = "https://github.com/ocaml/graphics"; 29 description = "Set of portable drawing primitives"; 30 license = lib.licenses.lgpl2; 31 }; 32})