nixpkgs/pkgs/development/libraries/libchardet/default.nix

26 lines
630 B
Nix
Raw Normal View History

2017-06-20 05:45:10 +02:00
{ stdenv, fetchFromGitHub, perl }:
2014-09-14 20:33:43 +02:00
stdenv.mkDerivation rec {
2017-06-20 05:45:10 +02:00
name = "libchardet-${version}";
version = "1.0.5";
src = fetchFromGitHub {
owner = "Joungkyun";
repo = "libchardet";
rev = version;
sha256 = "0c1k5hf3ssh3cm72w2zpy5k73vhy1gyq5s9rqdawqqa4al8syyvn";
2014-09-14 20:33:43 +02:00
};
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 ];
platforms = platforms.unix;
2014-09-14 20:33:43 +02:00
};
}