Merge pull request #264819 from Sohalt/bbin-update

bbin: 0.1.5 -> 0.2.1
This commit is contained in:
Mario Rodas 2023-11-01 13:13:11 -05:00 committed by GitHub
commit bb4d898d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,20 @@
{ 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";