Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
693 B
Nix
35 lines
693 B
Nix
{
|
|
stdenvNoCC,
|
|
lib,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "fet-sh";
|
|
version = "1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "6gk";
|
|
repo = "fet.sh";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xhX2nVteC3T3IjQh++mYlm0btDJQbyQa6b8sGualV0E=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs fet.sh
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -m755 -D fet.sh $out/bin/fet.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Fetch written in posix shell without any external commands";
|
|
homepage = "https://github.com/6gk/fet.sh";
|
|
license = licenses.isc;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ elkowar ];
|
|
mainProgram = "fet.sh";
|
|
};
|
|
}
|