hwdata: 0.314 → 0.316

This commit is contained in:
Jan Tojnar 2018-10-26 21:20:27 +02:00
parent 45a419ab5a
commit eadd086834
3 changed files with 7 additions and 7 deletions

View File

@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
''; '';
configureFlags = [ configureFlags = [
"--with-usb-ids-path=${hwdata}/data/hwdata/usb.ids" "--with-usb-ids-path=${hwdata}/share/hwdata/usb.ids"
"--with-pci-ids-path=${hwdata}/data/hwdata/pci.ids" "--with-pci-ids-path=${hwdata}/share/hwdata/pci.ids"
"--enable-gtk-doc" "--enable-gtk-doc"
]; ];

View File

@ -2,24 +2,24 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "hwdata-${version}"; name = "hwdata-${version}";
version = "0.314"; version = "0.316";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vcrhonek"; owner = "vcrhonek";
repo = "hwdata"; repo = "hwdata";
rev = "v${version}"; rev = "v${version}";
sha256 = "12k466ndg152fqld1w5v1zfdyv000yypazcwy75ywlxvlknv4y90"; sha256 = "0k3fypykbq9943cnxlmmpk0xp9nhhf46pfdhkgm99iaa27b8s1gb";
}; };
preConfigure = "patchShebangs ./configure"; preConfigure = "patchShebangs ./configure";
configureFlags = [ "--datadir=$(prefix)/data" ]; configureFlags = [ "--datadir=${placeholder "out"}/share" ];
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus) doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHash = "1w00y5kj8rd8slzydw1gw8cablxlkham4vq786kdd8zga286zabb"; outputHash = "0g2w4jr4p1hykracp2za7jb0rcr51kks1m43pzcaf7g99x8669ww";
meta = { meta = {
homepage = https://github.com/vcrhonek/hwdata; homepage = https://github.com/vcrhonek/hwdata;

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
postInstall = postInstall =
'' ''
substituteInPlace $out/bin/lsusb.py \ substituteInPlace $out/bin/lsusb.py \
--replace /usr/share/usb.ids ${hwdata}/data/hwdata/usb.ids --replace /usr/share/usb.ids ${hwdata}/share/hwdata/usb.ids
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {