about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/opam-file-format/default.nix
blob: dd16a369881c04e9e710ae9975c028bc55019f10 (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, buildDunePackage, fetchFromGitHub }:

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

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "ocaml";
    repo = pname;
    rev = version;
    sha256 = "19xppn2s3yjid8jc1wh8gdf5mgmlpzby2cf2slmnbyrgln3vj6i2";
  };

  meta = {
    description = "Parser and printer for the opam file syntax";
    license = lib.licenses.lgpl21;
    maintainers = [ lib.maintainers.vbgl ];
    inherit (src.meta) homepage;
  };
}