summary refs log tree commit diff
path: root/pkgs/development/libraries/libchardet/default.nix
blob: f7834c56b63acd9bc8ef31de0a1c8794fc903905 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, perl }:

stdenv.mkDerivation rec {
  name = "libchardet-1.0.4";
  
  src = fetchurl {
    url = "ftp://ftp.oops.org/pub/oops/libchardet/${name}.tar.bz2";
    sha256 = "0cvwba4la25qw70ap8jd5r743a9jshqd26nnbh5ph68zj1imlgzl";
  };

  nativeBuildInputs = [ perl ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "Mozilla's Universal Charset Detector C/C++ API";
    homepage = ftp://ftp.oops.org/pub/oops/libchardet/index.html;
    license = licenses.mpl11;
    maintainers = [ maintainers.abbradar ];
  };
}