Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 29f75982a675
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5509528c2c16
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on May 28, 2018

  1. Copy the full SHA
    5509528 View commit details
Showing with 27 additions and 0 deletions.
  1. +25 −0 pkgs/development/ocaml-modules/opam-file-format/default.nix
  2. +2 −0 pkgs/top-level/ocaml-packages.nix
25 changes: 25 additions & 0 deletions pkgs/development/ocaml-modules/opam-file-format/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, ocaml, findlib }:

stdenv.mkDerivation rec {
version = "2.0.0-rc2";
name = "ocaml${ocaml.version}-opam-file-format-${version}";

src = fetchFromGitHub {
owner = "ocaml";
repo = "opam-file-format";
rev = "${version}";
sha256 = "05g0pikmifmfkwyws5x82fglgsz3d317yfn6nrz7zmpn22cirvir";
};

buildInputs = [ ocaml findlib ];

installFlags = [ "LIBDIR=$(OCAMLFIND_DESTDIR)" ];

meta = {
description = "Parser and printer for the opam file syntax";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -519,6 +519,8 @@ let

omd = callPackage ../development/ocaml-modules/omd { };

opam-file-format = callPackage ../development/ocaml-modules/opam-file-format { };

otfm = callPackage ../development/ocaml-modules/otfm { };

otr = callPackage ../development/ocaml-modules/otr { };