depot/third_party/nixpkgs/pkgs/tools/misc/fet-sh/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

28 lines
651 B
Nix

{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "fet-sh";
version = "1.5";
src = fetchFromGitHub {
owner = "6gk";
repo = "fet.sh";
rev = "v${version}";
sha256 = "15336cayv3rb79y7f0v0qvn6nhr5aqr8479ayp0r0sihn5mkfg35";
};
dontBuild = true;
installPhase = ''
install -m755 -D ./fet.sh $out/bin/fet.sh
'';
meta = with lib; {
description = "A fetch written in posix shell without any external commands (linux only)";
homepage = "https://github.com/6gk/fet.sh";
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ elkowar ];
};
}