* Use the latest pci.ids.
svn path=/nixpkgs/trunk/; revision=8047
This commit is contained in:
parent
3a37abc3ce
commit
a106e7a1d7
@ -1,5 +1,10 @@
|
|||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
|
|
||||||
|
preBuild=preBuild
|
||||||
|
preBuild() {
|
||||||
|
bunzip2 < $pciids > pci.ids
|
||||||
|
}
|
||||||
|
|
||||||
postInstall=postInstall
|
postInstall=postInstall
|
||||||
postInstall() {
|
postInstall() {
|
||||||
ensureDir $out/lib
|
ensureDir $out/lib
|
||||||
|
@ -8,4 +8,9 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "17vaa1rij0q2xj8z8b8c6qq7a4g65gj419dsz067zlf6i3v0gz32";
|
sha256 = "17vaa1rij0q2xj8z8b8c6qq7a4g65gj419dsz067zlf6i3v0gz32";
|
||||||
};
|
};
|
||||||
buildInputs = [zlib];
|
buildInputs = [zlib];
|
||||||
|
|
||||||
|
pciids = fetchurl {
|
||||||
|
url = http://nix.cs.uu.nl/dist/tarballs/pci.ids.20070226.bz2;
|
||||||
|
sha256 = "1wrpq4dxm03v5jvvdlvwl8nrkj3hspgifkw5czmd647lzikp13qc";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user