571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
27 lines
730 B
Nix
27 lines
730 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 = "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 ];
|
|
};
|
|
}
|