Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 47 lines 885 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 uri, 6 cohttp-lwt, 7 atdgen, 8 yojson, 9 iso8601, 10 stringext, 11}: 12 13buildDunePackage rec { 14 pname = "gitlab"; 15 version = "0.1.8"; 16 17 src = fetchFromGitHub { 18 owner = "tmcgilchrist"; 19 repo = "ocaml-gitlab"; 20 rev = version; 21 hash = "sha256-7pUpH1SoP4eW8ild5j+Tcy+aTXq0+eSkhKUOXJ6Z30k="; 22 }; 23 24 minimalOCamlVersion = "4.08"; 25 26 buildInputs = [ stringext ]; 27 28 nativeBuildInputs = [ atdgen ]; 29 30 propagatedBuildInputs = [ 31 uri 32 cohttp-lwt 33 atdgen 34 yojson 35 iso8601 36 ]; 37 38 doCheck = true; 39 40 meta = with lib; { 41 homepage = "https://github.com/tmcgilchrist/ocaml-gitlab"; 42 description = "Native OCaml bindings to Gitlab REST API v4"; 43 license = licenses.bsd3; 44 changelog = "https://github.com/tmcgilchrist/ocaml-gitlab/releases/tag/${version}"; 45 maintainers = with maintainers; [ zazedd ]; 46 }; 47}