2020-08-18 20:46:57 +00:00
|
|
|
{ stdenvNoCC, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "fet-sh";
|
2020-10-31 22:53:19 +00:00
|
|
|
version = "1.8";
|
2020-08-18 20:46:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "6gk";
|
|
|
|
repo = "fet.sh";
|
|
|
|
rev = "v${version}";
|
2020-10-31 22:53:19 +00:00
|
|
|
sha256 = "1czjsyagwzbf8l023l1saz9ssb1hc245a64nfwc8wl0cn4h9byky";
|
2020-08-18 20:46:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|