fe83591d68
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/opaline/versions
27 lines
693 B
Nix
27 lines
693 B
Nix
{ stdenv, fetchFromGitHub, ocamlPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.3.2";
|
|
name = "opaline-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jaapb";
|
|
repo = "opaline";
|
|
rev = "v${version}";
|
|
sha256 = "1aj1fdqymq3pnr39h47hn3kxk5v9pnwx0jap1z2jzh78x970z21m";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|