at 18.03-beta 22 lines 607 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "hwdata-${version}"; 5 version = "0.309"; 6 7 src = fetchurl { 8 url = "https://github.com/vcrhonek/hwdata/archive/v0.309.tar.gz"; 9 sha256 = "1njx4lhg7a0cawz82x535vk4mslmnfj7nmf8dbq8kgqxiqh6h2c7"; 10 }; 11 12 preConfigure = "patchShebangs ./configure"; 13 14 configureFlags = "--datadir=$(prefix)/data"; 15 16 meta = { 17 homepage = https://github.com/vcrhonek/hwdata; 18 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards"; 19 license = stdenv.lib.licenses.gpl2; 20 platforms = stdenv.lib.platforms.linux; 21 }; 22}