summary refs log tree commit diff
path: root/pkgs/misc/long-shebang/default.nix
blob: 753e1f490bb4af10bcf7f0bf51fed79b95c41bb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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 = "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;
  };
}