2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, libtool }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "3.2p4";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libow";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "owfs";
|
|
|
|
repo = "owfs";
|
|
|
|
rev = "v${version}";
|
2020-12-25 13:55:36 +00:00
|
|
|
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-owtcl"
|
|
|
|
"--disable-owphp"
|
|
|
|
"--disable-owpython"
|
|
|
|
"--disable-zero"
|
|
|
|
"--disable-owshell"
|
|
|
|
"--disable-owhttpd"
|
|
|
|
"--disable-owftpd"
|
|
|
|
"--disable-owserver"
|
|
|
|
"--disable-owperl"
|
|
|
|
"--disable-owtcl"
|
|
|
|
"--disable-owtap"
|
|
|
|
"--disable-owmon"
|
|
|
|
"--disable-owexternal"
|
|
|
|
];
|
|
|
|
}
|