Merge pull request #233243 from figsoda/script

This commit is contained in:
figsoda 2023-05-22 11:39:33 -04:00 committed by GitHub
commit 08a3f551b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, rustPlatform
, fetchFromGitHub
, installShellFiles
}:
rustPlatform.buildRustPackage rec {
pname = "scriptisto";
version = "2.1.1";
src = fetchFromGitHub {
owner = "igor-petruk";
repo = "scriptisto";
rev = "v${version}";
hash = "sha256-WQSgN1iX26tPPaJXLtU5Eo8kFahT6g+gZKJEDT6zj1E=";
};
cargoHash = "sha256-trDf6N7PMjxlum8Rx2TxGePM6UPzMlTU6ATyGzmFoNc=";
nativeBuildInputs = [
installShellFiles
];
postInstall = ''
installManPage man/*
'';
meta = with lib; {
description = "A language-agnostic \"shebang interpreter\" that enables you to write scripts in compiled languages";
homepage = "https://github.com/igor-petruk/scriptisto";
changelog = "https://github.com/igor-petruk/scriptisto/releases/tag/${src.rev}";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -40157,6 +40157,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
scriptisto = callPackage ../development/tools/misc/scriptisto { };
sequeler = callPackage ../applications/misc/sequeler { };
sequelpro = callPackage ../applications/misc/sequelpro { };