mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
23 lines
579 B
Nix
23 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";
|
|
};
|
|
}
|