nixpkgs/pkgs/misc/long-shebang/default.nix

21 lines
545 B
Nix
Raw Normal View History

2016-07-31 18:11:50 +01:00
{ stdenv, fetchurl }: let
2016-08-14 17:33:50 +01:00
version = "1.1.0";
2016-07-31 18:11:50 +01:00
in stdenv.mkDerivation {
name = "long-shebang-${version}";
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";
2016-08-14 17:33:50 +01:00
sha256 = "0rlyibf7pczjfsi91nl1n5vri2vqibmvyyy070jaw3wb0wjm565a";
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;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
};
}