Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildDunePackage }: 2 3buildDunePackage rec { 4 pname = "pprint"; 5 version = "20220103"; 6 7 useDune2 = true; 8 9 src = fetchFromGitHub { 10 owner = "fpottier"; 11 repo = pname; 12 rev = version; 13 sha256 = "sha256:09y6nwnjldifm47406q1r9987njlk77g4ifqg6qs54dckhr64vax"; 14 }; 15 16 meta = with lib; { 17 inherit (src.meta) homepage; 18 description = "An OCaml library for pretty-printing textual documents"; 19 license = licenses.lgpl2Only; 20 maintainers = [ maintainers.vbgl ]; 21 }; 22}