nixpkgs/pkgs/development/tools/ocaml/opaline/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
720 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, ocamlPackages }:
stdenv.mkDerivation rec {
2022-03-02 12:07:54 +00:00
version = "0.3.3";
pname = "opaline";
src = fetchFromGitHub {
owner = "jaapb";
repo = "opaline";
rev = "v${version}";
2022-03-02 12:07:54 +00:00
sha256 = "sha256-6htaiFIcRMUYWn0U7zTNfCyDaTgDEvPch2q57qzvND4=";
};
2021-08-14 13:00:00 +01:00
nativeBuildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild ];
buildInputs = with ocamlPackages; [ opam-file-format ];
preInstall = "mkdir -p $out/bin";
installFlags = [ "PREFIX=$(out)" ];
meta = {
description = "OPAm Light INstaller Engine";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (ocamlPackages.ocaml.meta) platforms;
};
}