about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/opam-file-format/default.nix
blob: d0ec77c4556f5a4493372d67fb034f95e1e8dc2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, fetchFromGitHub, buildDunePackage }:

buildDunePackage rec {
  pname = "opam-file-format";
  version = "2.1.3";

  src = fetchFromGitHub {
    owner = "ocaml";
    repo = pname;
    rev = version;
    sha256 = "1fxhppdmrysr2nb5z3c448h17np48f3ga9jih33acj78r4rdblcs";
  };

  useDune2 = true;

  meta = with lib; {
    description = "Parser and printer for the opam file syntax";
    license = licenses.lgpl21;
    maintainers = with maintainers; [ vbgl ];
    homepage = "https://github.com/ocaml/opam-file-format/";
  };
}