mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 16:45:15 +00:00
![aleksana](/assets/img/avatar_default.png)
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.
36 lines
722 B
Nix
36 lines
722 B
Nix
{ fetchFromGitHub
|
|
, stdenv
|
|
, lib
|
|
, ncurses
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mvebu64boot";
|
|
version = "unstable-2022-10-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pali";
|
|
repo = "mvebu64boot";
|
|
rev = "e7ca70eff2dc278607cc07f6654bbddacb2e4ff6";
|
|
hash = "sha256-Y2yVr/BuOah5yMvF5EvM7frEUY8r+Hf4bNIKVkHgvQs=";
|
|
};
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -D mvebu64boot $out/bin/mvebu64boot
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Boot 64-bit Marvell EBU SoC over UART";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ lukegb ];
|
|
platforms = platforms.all;
|
|
mainProgram = "mvebu64boot";
|
|
};
|
|
}
|