biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / misc / scriptisto / default.nix
blobf3a3ba18240b752e3ce165294a38413adf84e333
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , installShellFiles
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "scriptisto";
9   version = "2.1.1";
11   src = fetchFromGitHub {
12     owner = "igor-petruk";
13     repo = "scriptisto";
14     rev = "v${version}";
15     hash = "sha256-WQSgN1iX26tPPaJXLtU5Eo8kFahT6g+gZKJEDT6zj1E=";
16   };
18   cargoHash = "sha256-trDf6N7PMjxlum8Rx2TxGePM6UPzMlTU6ATyGzmFoNc=";
20   nativeBuildInputs = [
21     installShellFiles
22   ];
24   postInstall = ''
25     installManPage man/*
26   '';
28   meta = with lib; {
29     description = "A language-agnostic \"shebang interpreter\" that enables you to write scripts in compiled languages";
30     mainProgram = "scriptisto";
31     homepage = "https://github.com/igor-petruk/scriptisto";
32     changelog = "https://github.com/igor-petruk/scriptisto/releases/tag/${src.rev}";
33     license = licenses.asl20;
34     maintainers = with maintainers; [ figsoda ];
35   };