about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/fusee-nano/default.nix
blob: e1c5520026199810108e1e18f85a0a9051c3a7f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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";
    homepage = "https://github.com/DavidBuchanan314/fusee-nano";
    license = lib.licenses.mit;
    platforms = lib.platforms.linux;
    maintainers = [ lib.maintainers.leo60228 ];
  };
}