2024-12-09 23:08:39 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchurl,
|
|
|
|
docker,
|
|
|
|
gnutar,
|
|
|
|
}:
|
2024-12-04 20:09:32 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pelican-wings";
|
2025-01-06 00:15:47 +00:00
|
|
|
version = "v1.0.0-beta9";
|
2024-12-04 20:09:32 +00:00
|
|
|
|
|
|
|
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-04 20:09:32 +00:00
|
|
|
};
|
|
|
|
|
2024-12-09 23:08:39 +00:00
|
|
|
buildInputs = [docker gnutar];
|
2024-12-04 20:09:32 +00:00
|
|
|
|
2024-12-09 23:08:39 +00:00
|
|
|
phases = ["installPhase"];
|
2024-12-04 20:09:32 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D $src $out/bin/wings
|
|
|
|
'';
|
2024-12-09 23:08:39 +00:00
|
|
|
}
|