libow: fix darwin build
This commit is contained in:
parent
489cfcf8c5
commit
d051dab8d1
|
@ -11,19 +11,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake pkg-config ];
|
||||
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "1-Wire File System full library";
|
||||
homepage = "https://owfs.org/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ disserman ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
buildInputs = [ libtool ];
|
||||
|
||||
preConfigure = "./bootstrap";
|
||||
preConfigure = ''
|
||||
# Tries to use glibtoolize on Darwin, but it shouldn't for Nix.
|
||||
sed -i -e 's/glibtoolize/libtoolize/g' bootstrap
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-owtcl"
|
||||
|
@ -35,9 +29,16 @@ stdenv.mkDerivation rec {
|
|||
"--disable-owftpd"
|
||||
"--disable-owserver"
|
||||
"--disable-owperl"
|
||||
"--disable-owtcl"
|
||||
"--disable-owtap"
|
||||
"--disable-owmon"
|
||||
"--disable-owexternal"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "1-Wire File System full library";
|
||||
homepage = "https://owfs.org/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ disserman ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue