fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, libtool }:
2
3stdenv.mkDerivation rec {
4 version = "3.2p4";
5 pname = "libow";
6
7 src = fetchFromGitHub {
8 owner = "owfs";
9 repo = "owfs";
10 rev = "v${version}";
11 sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
12 };
13
14 nativeBuildInputs = [ autoconf automake libtool pkg-config ];
15
16 preConfigure = ''
17 # Tries to use glibtoolize on Darwin, but it shouldn't for Nix.
18 sed -i -e 's/glibtoolize/libtoolize/g' bootstrap
19 ./bootstrap
20 '';
21
22 configureFlags = [
23 "--disable-owtcl"
24 "--disable-owphp"
25 "--disable-owpython"
26 "--disable-zero"
27 "--disable-owshell"
28 "--disable-owhttpd"
29 "--disable-owftpd"
30 "--disable-owserver"
31 "--disable-owperl"
32 "--disable-owtap"
33 "--disable-owmon"
34 "--disable-owexternal"
35 ];
36
37 meta = with lib; {
38 description = "1-Wire File System full library";
39 homepage = "https://owfs.org/";
40 license = licenses.gpl2;
41 maintainers = with maintainers; [ disserman ];
42 platforms = platforms.unix;
43 };
44}