nixos/applications/pelican/pelican-wing-package.nix

25 lines
451 B
Nix
Raw Normal View History

2024-12-09 23:08:39 +00:00
{
stdenv,
lib,
fetchurl,
docker,
gnutar,
}:
stdenv.mkDerivation rec {
pname = "pelican-wings";
2025-01-06 00:15:47 +00:00
version = "v1.0.0-beta9";
src = fetchurl {
url = "https://github.com/pelican-dev/wings/releases/download/${version}/wings_linux_amd64";
2025-01-06 00:15:47 +00:00
hash = "sha256-YaS1bthNSeWXH5drc2yensRqsRAOa2VXvivJOaPybqc=";
};
2024-12-09 23:08:39 +00:00
buildInputs = [docker gnutar];
2024-12-09 23:08:39 +00:00
phases = ["installPhase"];
installPhase = ''
install -D $src $out/bin/wings
'';
2024-12-09 23:08:39 +00:00
}