beam26Packages.ex_doc: 0.37.2 -> 0.37.3 (#387767)
This commit is contained in:
@@ -1,18 +1,34 @@
|
||||
{ lib, elixir, fetchFromGitHub, fetchMixDeps, mixRelease, nix-update-script }:
|
||||
{
|
||||
lib,
|
||||
elixir,
|
||||
fetchFromGitHub,
|
||||
fetchMixDeps,
|
||||
mixRelease,
|
||||
nix-update-script,
|
||||
|
||||
# for tests
|
||||
beam27Packages,
|
||||
beam28Packages,
|
||||
}:
|
||||
# Based on ../elixir-ls/default.nix
|
||||
|
||||
let
|
||||
pname = "ex_doc";
|
||||
version = "0.37.2";
|
||||
version = "0.37.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "elixir-lang";
|
||||
repo = "${pname}";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BQbqaZq8pCfXrxJh03uV/WpH07bGoVUciX1wh8hFlxM=";
|
||||
hash = "sha256-2tam+3vYLC216Q78GIUI3fGnE5FJ/lECJAUQMSxz46w=";
|
||||
};
|
||||
in
|
||||
mixRelease {
|
||||
inherit pname version src elixir;
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
src
|
||||
elixir
|
||||
;
|
||||
|
||||
stripDebug = true;
|
||||
|
||||
@@ -41,7 +57,15 @@ mixRelease {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru = {
|
||||
tests = {
|
||||
# ex_doc is the doc generation for OTP 27+, so let's make sure they build
|
||||
erlang_27 = beam27Packages.erlang;
|
||||
erlang_28 = beam28Packages.erlang;
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/elixir-lang/ex_doc";
|
||||
@@ -51,6 +75,6 @@ mixRelease {
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "ex_doc";
|
||||
maintainers = with maintainers; [chiroptical];
|
||||
maintainers = with maintainers; [ chiroptical ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user