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";
|
|
|
|
version = "v1.0.0-beta6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pelican-dev/wings/releases/download/${version}/wings_linux_amd64";
|
|
|
|
hash = "sha256-a2T4BjqS8Hy5YqwDEJpbvGqqsrVjdRhxvJLgk3MCXag=";
|
|
|
|
};
|
|
|
|
|
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
|
|
|
}
|