mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
580b2ca7c6
Signed-off-by: Magic_RB <magic_rb@redalder.org>
18 lines
370 B
Nix
18 lines
370 B
Nix
{ fetchurl
|
|
, lib
|
|
, unzip
|
|
}:
|
|
with lib;
|
|
fetchurl {
|
|
url = "https://github.com/meteyou/mainsail/releases/download/v1.6.0/mainsail.zip";
|
|
sha256 = "sha256-tg3wuJOe5umh6ZiRRdyXABPxhSER/BYvWBd5xuKdjb4=";
|
|
downloadToTemp = true;
|
|
recursiveHash = true;
|
|
name = "mainsail";
|
|
postFetch =
|
|
''
|
|
mkdir -p $out
|
|
${unzip}/bin/unzip -d $out $downloadedFile
|
|
'';
|
|
}
|