about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libowfat/default.nix
blob: 665121b58b5ce67834ea026c2de38f759f011cc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "libowfat";
  version = "0.32";

  src = fetchurl {
    url = "https://www.fefe.de/libowfat/${pname}-${version}.tar.xz";
    sha256 = "1hcqg7pvy093bxx8wk7i4gvbmgnxz2grxpyy7b4mphidjbcv7fgl";
  };

  makeFlags = [ "prefix=$(out)" ];
  enableParallelBuilding = true;

  meta = with lib; {
    description = "A GPL reimplementation of libdjb";
    homepage = "https://www.fefe.de/libowfat/";
    license = licenses.gpl2;
    platforms = platforms.linux;
    # Doesn't build with glibc 2.34: https://hydra.nixos.org/build/156248131
    # Should be fixed with the next release: https://bugs.gentoo.org/806505
    broken = true;
  };
}