mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 11:37:19 +03:00
Merge pull request #109329 from tu-maurice/beefi-0.1.1
This commit is contained in:
commit
51e3b19fc6
@ -9305,6 +9305,12 @@
|
||||
githubId = 303489;
|
||||
name = "Manuel Bärenz";
|
||||
};
|
||||
tu-maurice = {
|
||||
email = "valentin.gehrke+nixpkgs@zom.bi";
|
||||
github = "tu-maurice";
|
||||
githubId = 16151097;
|
||||
name = "Valentin Gehrke";
|
||||
};
|
||||
tv = {
|
||||
email = "tv@krebsco.de";
|
||||
github = "4z3";
|
||||
|
44
pkgs/os-specific/linux/beefi/default.nix
Normal file
44
pkgs/os-specific/linux/beefi/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, binutils-unwrapped
|
||||
, systemd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "beefi";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jfeick";
|
||||
repo = "beefi";
|
||||
rev = version;
|
||||
sha256 = "1180avalbw414q1gnfqdgc9zg3k9y0401kw9qvcn51qph81d04v5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = [
|
||||
binutils-unwrapped
|
||||
systemd
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace beefi \
|
||||
--replace objcopy ${binutils-unwrapped}/bin/objcopy \
|
||||
--replace /usr/lib/systemd ${systemd}/lib/systemd
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 beefi $out/bin/beefi
|
||||
installManPage beefi.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small script to create bootable EFISTUB kernel images";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ tu-maurice ];
|
||||
homepage = "https://github.com/jfeick/beefi";
|
||||
};
|
||||
}
|
@ -18602,6 +18602,8 @@ in
|
||||
|
||||
batctl = callPackage ../os-specific/linux/batman-adv/batctl.nix { };
|
||||
|
||||
beefi = callPackage ../os-specific/linux/beefi { };
|
||||
|
||||
blktrace = callPackage ../os-specific/linux/blktrace { };
|
||||
|
||||
bluez5 = callPackage ../os-specific/linux/bluez { };
|
||||
|
Loading…
Reference in New Issue
Block a user