Files
nixpkgs/pkgs/by-name/ef/efivar/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1004 B
Nix

{
lib,
stdenv,
buildPackages,
fetchFromGitHub,
pkg-config,
popt,
mandoc,
}:
stdenv.mkDerivation rec {
pname = "efivar";
version = "39";
outputs = [
"bin"
"out"
"dev"
"man"
];
src = fetchFromGitHub {
owner = "rhboot";
repo = "efivar";
rev = version;
hash = "sha256-s/1k5a3n33iLmSpKQT5u08xoj8ypjf2Vzln88OBrqf0=";
};
nativeBuildInputs = [
pkg-config
mandoc
];
buildInputs = [ popt ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
makeFlags = [
"prefix=$(out)"
"libdir=$(out)/lib"
"bindir=$(bin)/bin"
"mandir=$(man)/share/man"
"includedir=$(dev)/include"
"PCDIR=$(dev)/lib/pkgconfig"
];
meta = with lib; {
description = "Tools and library to manipulate EFI variables";
homepage = "https://github.com/rhboot/efivar";
platforms = platforms.linux;
license = licenses.lgpl21Only;
# See https://github.com/NixOS/nixpkgs/issues/388309
broken = stdenv.hostPlatform.is32bit;
};
}