lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 47 lines 1.1 kB view raw
1{ fetchgit 2, installShellFiles 3, lib 4, libftdi1 5, libgpiod_1 6, libjaylink 7, libusb1 8, pciutils 9, pkg-config 10, stdenv 11}: 12 13stdenv.mkDerivation rec { 14 pname = "flashrom-stable"; 15 version = "1.1"; 16 17 src = fetchgit { 18 url = "https://review.coreboot.org/flashrom-stable"; 19 rev = "272aae888ce5abf5e999d750ee4577407db32246"; 20 hash = "sha256-DR4PAING69+TMsyycGxt1cu0ba1tTlG36+H/pJ0oP4E="; 21 }; 22 23 nativeBuildInputs = [ 24 installShellFiles 25 pkg-config 26 ]; 27 28 buildInputs = [ 29 libftdi1 30 libjaylink 31 libusb1 32 ] ++ lib.optionals (!stdenv.isDarwin) [ 33 libgpiod_1 34 pciutils 35 ]; 36 37 makeFlags = [ "PREFIX=$(out)" "libinstall" ] ++ lib.optionals stdenv.isDarwin [ "CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no" ] 38 ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ "CONFIG_INTERNAL_X86=no" "CONFIG_INTERNAL_DMI=no" "CONFIG_RAYER_SPI=0" ]; 39 40 meta = with lib; { 41 homepage = "https://www.flashrom.org"; 42 description = "Utility for reading, writing, erasing and verifying flash ROM chips."; 43 license = with licenses; [ gpl2 gpl2Plus ]; 44 maintainers = with maintainers; [ felixsinger ]; 45 platforms = platforms.all; 46 }; 47}