Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitLab, 5 yojson, 6}: 7 8buildDunePackage rec { 9 pname = "ocf"; 10 version = "0.9.0"; 11 duneVersion = "3"; 12 minimalOCamlVersion = "4.03"; 13 src = fetchFromGitLab { 14 domain = "framagit.org"; 15 owner = "zoggy"; 16 repo = "ocf"; 17 rev = version; 18 sha256 = "sha256-tTNpvncLO/WfcMbjqRfqzcdPv2Bd877fOU5AZlkkcXA="; 19 }; 20 21 propagatedBuildInputs = [ yojson ]; 22 23 meta = with lib; { 24 description = "OCaml library to read and write configuration options in JSON syntax"; 25 homepage = "https://zoggy.frama.io/ocf/"; 26 license = licenses.lgpl3; 27 maintainers = with maintainers; [ regnat ]; 28 }; 29}