summary refs log tree commit diff
path: root/pkgs/misc/long-shebang/default.nix
blob: 2aac5556e2f52e057bc517ff8f2f8cd39f642b3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl }: let
  version = "1.1.0";
in stdenv.mkDerivation {
  name = "long-shebang-${version}";

  src = fetchurl {
    url = "https://github.com/shlevy/long-shebang/releases/download/v${version}/long-shebang-${version}.tar.xz";
    sha256 = "0rlyibf7pczjfsi91nl1n5vri2vqibmvyyy070jaw3wb0wjm565a";
  };

  meta = {
    description = "A tool for #! scripts with more than one argument";

    homepage = https://github.com/shlevy/long-shebang;

    license = stdenv.lib.licenses.mit;

    platforms = stdenv.lib.platforms.unix;
  };
}