mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
flashrom-stable: init at v1.1
flashrom-stable is a fork of flashrom aiming stability. A proper NixOS module and udev support will be added later. Signed-off-by: Felix Singer <felix.singer@secunet.com>
This commit is contained in:
parent
6bf4cde63f
commit
2b920e5a08
46
pkgs/tools/misc/flashrom-stable/default.nix
Normal file
46
pkgs/tools/misc/flashrom-stable/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ fetchgit
|
||||
, installShellFiles
|
||||
, lib
|
||||
, libftdi1
|
||||
, libgpiod
|
||||
, libjaylink
|
||||
, libusb1
|
||||
, pciutils
|
||||
, pkg-config
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flashrom-stable";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://review.coreboot.org/flashrom-stable";
|
||||
rev = "272aae888ce5abf5e999d750ee4577407db32246";
|
||||
hash = "sha256-DR4PAING69+TMsyycGxt1cu0ba1tTlG36+H/pJ0oP4E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libftdi1
|
||||
libgpiod
|
||||
libjaylink
|
||||
libusb1
|
||||
pciutils
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "libinstall" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.flashrom.org";
|
||||
description = "Utility for reading, writing, erasing and verifying flash ROM chips.";
|
||||
license = with licenses; [ gpl2 gpl2Plus ];
|
||||
maintainers = with maintainers; [ felixsinger ];
|
||||
platforms = platforms.all;
|
||||
broken = stdenv.isDarwin; # requires DirectHW
|
||||
};
|
||||
}
|
@ -7439,6 +7439,8 @@ with pkgs;
|
||||
|
||||
flashrom = callPackage ../tools/misc/flashrom { };
|
||||
|
||||
flashrom-stable = callPackage ../tools/misc/flashrom-stable { };
|
||||
|
||||
flent = python3Packages.callPackage ../applications/networking/flent { };
|
||||
|
||||
flexoptix-app = callPackage ../tools/misc/flexoptix-app { };
|
||||
|
Loading…
Reference in New Issue
Block a user