Unverified Commit bb4d898d authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #264819 from Sohalt/bbin-update

bbin: 0.1.5 -> 0.2.1
parents a6a13bd8 3d830355
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
{ lib
, stdenvNoCC
, fetchFromGitHub
, gitUpdater
, makeWrapper
, babashka-unwrapped
}:

stdenvNoCC.mkDerivation rec {
  pname = "bbin";
  version = "0.1.5";
  version = "0.2.1";

  src = fetchFromGitHub {
    owner = "babashka";
    repo = "bbin";
    rev = "v${version}";
    sha256 = "sha256-5hohAr6a8C9jPwhQi3E66onSa6+P9plS939fQM/fl9Q=";
    sha256 = "sha256-mF8+Fm1vwLUw5l2PqV+vFFlr6y2JpKBwc+J3PdKQ6Fo=";
  };

  nativeBuildInputs = [ makeWrapper ];
@@ -33,6 +34,10 @@ stdenvNoCC.mkDerivation rec {
    runHook postInstall
  '';

  passthru = {
    updateScript = gitUpdater { rev-prefix = "v"; };
  };

  meta = with lib; {
    homepage = "https://github.com/babashka/bbin";
    description = "Install any Babashka script or project with one command";