hwdata: 0.314 → 0.316
This commit is contained in:
parent
45a419ab5a
commit
eadd086834
@ -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"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user