Loading pkgs/development/ocaml-modules/graphics/default.nix +14 −11 Original line number Diff line number Diff line { lib, fetchurl, fetchFromGitHub, buildDunePackage, dune-configurator, libX11, libXft, }: buildDunePackage rec { buildDunePackage (finalAttrs: { pname = "graphics"; version = "5.1.2"; useDune2 = true; version = "5.2.0"; src = fetchurl { url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz"; sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ="; src = fetchFromGitHub { owner = "ocaml"; repo = "graphics"; tag = finalAttrs.version; hash = "sha256-0lpeZW1U//J5lH04x2ReBeug4s79KCyb5QYaiVgcBZI="; }; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ libX11 ]; propagatedBuildInputs = [ libX11 libXft ]; meta = { homepage = "https://github.com/ocaml/graphics"; description = "Set of portable drawing primitives"; license = lib.licenses.lgpl2; }; } }) Loading
pkgs/development/ocaml-modules/graphics/default.nix +14 −11 Original line number Diff line number Diff line { lib, fetchurl, fetchFromGitHub, buildDunePackage, dune-configurator, libX11, libXft, }: buildDunePackage rec { buildDunePackage (finalAttrs: { pname = "graphics"; version = "5.1.2"; useDune2 = true; version = "5.2.0"; src = fetchurl { url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz"; sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ="; src = fetchFromGitHub { owner = "ocaml"; repo = "graphics"; tag = finalAttrs.version; hash = "sha256-0lpeZW1U//J5lH04x2ReBeug4s79KCyb5QYaiVgcBZI="; }; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ libX11 ]; propagatedBuildInputs = [ libX11 libXft ]; meta = { homepage = "https://github.com/ocaml/graphics"; description = "Set of portable drawing primitives"; license = lib.licenses.lgpl2; }; } })