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: 61cec46f7819
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 33a418e2e6ab
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jun 1, 2018

  1. opaline: init at 0.3.1 (#41346)

    Opaline is a lightweight replacement for opam-installer.
    
    Homepage: https://github.com/jaapb/opaline
    vbgl authored and xeji committed Jun 1, 2018
    Copy the full SHA
    33a418e View commit details
Showing with 29 additions and 0 deletions.
  1. +27 −0 pkgs/development/tools/ocaml/opaline/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
27 changes: 27 additions & 0 deletions pkgs/development/tools/ocaml/opaline/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, ocamlPackages }:

stdenv.mkDerivation rec {
version = "0.3.1";
name = "opaline-${version}";

src = fetchFromGitHub {
owner = "jaapb";
repo = "opaline";
rev = "v${version}";
sha256 = "0vd5xaf272hk4iqfj347jvbppy7my5p5gz8yqpkvl1d1i6lzh08v";
};

buildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild opam-file-format ];

preInstall = "mkdir -p $out/bin";

installFlags = [ "PREFIX=$(out)" ];

meta = {
description = "OPAm Light INstaller Engine";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (ocamlPackages.ocaml.meta) platforms;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -6873,6 +6873,8 @@ with pkgs;
ocamlPackages = ocamlPackages_4_02;
};

opaline = callPackage ../development/tools/ocaml/opaline { };

opam = callPackage ../development/tools/ocaml/opam { };

picat = callPackage ../development/compilers/picat {