fwts: init at 18.01.00

+32
+30
pkgs/os-specific/linux/fwts/default.nix
··· 1 + { stdenv, fetchzip, autoreconfHook, pkgconfig, glib, libtool, pcre 2 + , json_c, flex, bison, dtc, pciutils, dmidecode, iasl }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "fwts-${version}"; 6 + version = "18.01.00"; 7 + 8 + src = fetchzip { 9 + url = "http://fwts.ubuntu.com/release/fwts-V${version}.tar.gz"; 10 + sha256 = "043wkq4hz5pz79masppya67b8i5jw61p1j8dw17jwc8w6gp8csfb"; 11 + stripRoot = false; 12 + }; 13 + 14 + nativeBuildInputs = [ autoreconfHook pkgconfig libtool ]; 15 + buildInputs = [ glib pcre json_c flex bison dtc pciutils dmidecode iasl ]; 16 + 17 + postPatch = '' 18 + substituteInPlace src/lib/include/fwts_binpaths.h --replace "/usr/bin/lspci" "${pciutils}/bin/lspci" 19 + substituteInPlace src/lib/include/fwts_binpaths.h --replace "/usr/sbin/dmidecode" "${dmidecode}/bin/dmidecode" 20 + substituteInPlace src/lib/include/fwts_binpaths.h --replace "/usr/bin/iasl" "${iasl}/bin/iasl" 21 + ''; 22 + 23 + meta = with stdenv.lib; { 24 + homepage = "https://wiki.ubuntu.com/FirmwareTestSuite"; 25 + description = "Firmware Test Suite"; 26 + platforms = platforms.linux; 27 + license = licenses.gpl2; 28 + maintainers = with maintainers; [ tadfisher ]; 29 + }; 30 + }
+2
pkgs/top-level/all-packages.nix
··· 12905 12905 12906 12906 fwupdate = callPackage ../os-specific/linux/firmware/fwupdate { }; 12907 12907 12908 + fwts = callPackage ../os-specific/linux/fwts { }; 12909 + 12908 12910 libossp_uuid = callPackage ../development/libraries/libossp-uuid { }; 12909 12911 12910 12912 libuuid =