depot/third_party/nixpkgs/pkgs/misc/long-shebang/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

22 lines
579 B
Nix

{ lib, stdenv, fetchurl }: let
version = "1.2.0";
in stdenv.mkDerivation {
pname = "long-shebang";
inherit version;
src = fetchurl {
url = "https://github.com/shlevy/long-shebang/releases/download/v${version}/long-shebang-${version}.tar.xz";
sha256 = "10h29w1c5bm0rlscyjiz1kzb134rn92as6v4y7i8mhhmdh6mmf79";
};
meta = {
description = "Tool for #! scripts with more than one argument";
homepage = "https://github.com/shlevy/long-shebang";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
mainProgram = "long-shebang";
};
}