mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 20:46:12 +01:00
a5a651dbb9
Signed-off-by: main <magic_rb@redalder.org>
21 lines
508 B
Nix
21 lines
508 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
fetchurl,
|
|
lib,
|
|
unzip,
|
|
}:
|
|
with lib;
|
|
fetchurl {
|
|
url = "https://github.com/mainsail-crew/mainsail/releases/download/v2.2.1/mainsail.zip";
|
|
sha256 = "sha256-GpL1vEJZGNaP88zltiuOv0TE/vuc59FVk8HPcaA69ho=";
|
|
downloadToTemp = true;
|
|
recursiveHash = true;
|
|
name = "mainsail";
|
|
postFetch = ''
|
|
mkdir -p $out
|
|
${unzip}/bin/unzip -d $out $downloadedFile
|
|
'';
|
|
}
|