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";
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-09 23:08:39 +00:00
phases = ["installPhase"];
installPhase = ''
install -D $src $out/bin/wings
'';
2024-12-09 23:08:39 +00:00
}