3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/long-shebang/default.nix

22 lines
547 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl }: let
2017-02-23 23:27:12 +00:00
version = "1.2.0";
2016-07-31 18:11:50 +01:00
in stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "long-shebang";
inherit version;
2016-07-31 18:11:50 +01:00
src = fetchurl {
2016-08-14 15:58:44 +01:00
url = "https://github.com/shlevy/long-shebang/releases/download/v${version}/long-shebang-${version}.tar.xz";
2017-02-23 23:27:12 +00:00
sha256 = "10h29w1c5bm0rlscyjiz1kzb134rn92as6v4y7i8mhhmdh6mmf79";
2016-07-31 18:11:50 +01:00
};
meta = {
description = "A tool for #! scripts with more than one argument";
homepage = "https://github.com/shlevy/long-shebang";
2016-07-31 18:11:50 +01:00
2021-01-15 13:21:58 +00:00
license = lib.licenses.mit;
2016-07-31 18:11:50 +01:00
2021-01-15 13:21:58 +00:00
platforms = lib.platforms.unix;
2016-07-31 18:11:50 +01:00
};
}