mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
cb3b10a646
* Added more optional Hal dependencies. svn path=/nixpkgs/trunk/; revision=8844
18 lines
523 B
Nix
18 lines
523 B
Nix
{stdenv, fetchurl, libxml2}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libsmbios-0.13.6";
|
|
src = fetchurl {
|
|
url = http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.6/libsmbios-0.13.6.tar.gz;
|
|
sha256 = "0zjch3xzyr289x64wzaj67l4jj0x645krxmx4yqn18hp2innfffs";
|
|
};
|
|
buildInputs = [libxml2];
|
|
configureFlags = "--disable-static"; # bloated enough as it is...
|
|
|
|
# `make install' forgets to install the header files.
|
|
postInstall = "
|
|
ensureDir $out/include
|
|
cp -prvd include/smbios $out/include/
|
|
";
|
|
}
|