3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libow/default.nix

44 lines
1,014 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, libtool }:
2019-04-07 13:46:58 +01:00
stdenv.mkDerivation rec {
2020-09-05 06:46:28 +01:00
version = "3.2p4";
pname = "libow";
2019-04-07 13:46:58 +01:00
src = fetchFromGitHub {
owner = "owfs";
repo = "owfs";
rev = "v${version}";
2020-09-05 06:46:28 +01:00
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
2019-04-07 13:46:58 +01:00
};
nativeBuildInputs = [ autoconf automake pkg-config ];
2019-04-07 13:46:58 +01:00
meta = with lib; {
2019-04-07 13:46:58 +01:00
description = "1-Wire File System full library";
homepage = "https://owfs.org/";
2019-04-07 13:46:58 +01:00
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"
];
}