libstatgrab: fix darwin build
Darwin needs IOKit to work.
This commit is contained in:
parent
de914d0190
commit
3182e52fdd
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl
|
||||||
|
, IOKit ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libstatgrab-0.91";
|
name = "libstatgrab-0.91";
|
||||||
@ -8,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83";
|
sha256 = "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.i-scream.org/libstatgrab/;
|
homepage = http://www.i-scream.org/libstatgrab/;
|
||||||
description = "A library that provides cross platforms access to statistics about the running system";
|
description = "A library that provides cross platforms access to statistics about the running system";
|
||||||
|
@ -8489,7 +8489,9 @@ in
|
|||||||
|
|
||||||
libspatialite = callPackage ../development/libraries/libspatialite { };
|
libspatialite = callPackage ../development/libraries/libspatialite { };
|
||||||
|
|
||||||
libstatgrab = callPackage ../development/libraries/libstatgrab { };
|
libstatgrab = callPackage ../development/libraries/libstatgrab {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||||
|
};
|
||||||
|
|
||||||
libsvm = callPackage ../development/libraries/libsvm { };
|
libsvm = callPackage ../development/libraries/libsvm { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user