blob: 12f210593107e4b9c88738f84dbfadca265fffa5 (
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
25
26
|
{ lib, stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
pname = "uchardet";
version = "0.0.8";
outputs = [ "bin" "out" "man" "dev" ];
src = fetchurl {
url = "https://www.freedesktop.org/software/${pname}/releases/${pname}-${version}.tar.xz";
sha256 = "sha256-6Xpgz8AKHBR6Z0sJe7FCKr2fp4otnOPz/cwueKNKxfA=";
};
nativeBuildInputs = [ cmake ];
doCheck = !stdenv.hostPlatform.isi686; # tests fail on i686
meta = with lib; {
description = "Mozilla's Universal Charset Detector C/C++ API";
mainProgram = "uchardet";
homepage = "https://www.freedesktop.org/wiki/Software/uchardet/";
license = licenses.mpl11;
maintainers = [ ];
platforms = with platforms; unix;
};
}
|