nixpkgs/pkgs/development/tools/fusee-nano/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
732 B
Nix

{ lib, stdenv, fetchFromGitHub, unixtools }:
stdenv.mkDerivation {
pname = "fusee-nano";
version = "unstable-2023-05-17";
src = fetchFromGitHub {
owner = "DavidBuchanan314";
repo = "fusee-nano";
rev = "2979d34f470d02f34594d8d59be1f5c7bf4bf73f";
hash = "sha256-RUG10wvhB0qEuiLwn8wk6Uxok+gv4bFLD6tbx0P0yDc=";
};
nativeBuildInputs = [ unixtools.xxd ];
makeFlags = [ "PREFIX=$(out)/bin" ];
meta = {
description = "A minimalist re-implementation of the Fusée Gelée exploit";
mainProgram = "fusee-nano";
homepage = "https://github.com/DavidBuchanan314/fusee-nano";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.leo60228 ];
};
}