mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
27 lines
686 B
Nix
27 lines
686 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libchardet";
|
|
version = "1.0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Joungkyun";
|
|
repo = "libchardet";
|
|
rev = version;
|
|
sha256 = "sha256-JhEiWM3q8X+eEBHxv8k9yYOaTGoJOzI+/iFYC0gZJJs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook perl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Mozilla's Universal Charset Detector C/C++ API";
|
|
mainProgram = "chardet-config";
|
|
homepage = "ftp://ftp.oops.org/pub/oops/libchardet/index.html";
|
|
license = licenses.mpl11;
|
|
maintainers = [ maintainers.abbradar ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|