python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libow / default.nix
blob5340caeff0a8eb59a2f5840041c0db82b5e7b2d9
1 { lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, libtool }:
3 stdenv.mkDerivation rec {
4   version = "3.2p4";
5   pname = "libow";
7   src = fetchFromGitHub {
8     owner = "owfs";
9     repo = "owfs";
10     rev = "v${version}";
11     sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
12   };
14   nativeBuildInputs = [ autoconf automake libtool pkg-config ];
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   '';
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   ];
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   };