depot/third_party/nixpkgs/pkgs/development/libraries/libuchardet/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

25 lines
704 B
Nix

{ lib, stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
pname = "uchardet";
version = "0.0.7";
outputs = [ "bin" "out" "man" "dev" ];
src = fetchurl {
url = "https://www.freedesktop.org/software/${pname}/releases/${pname}-${version}.tar.xz";
sha256 = "1ca51sryhryqz82v4d0graaiqqq5w2f33a9gj83b910xmq499irz";
};
nativeBuildInputs = [ cmake ];
doCheck = !stdenv.isi686; # tests fail on i686
meta = with lib; {
description = "Mozilla's Universal Charset Detector C/C++ API";
homepage = "https://www.freedesktop.org/wiki/Software/uchardet/";
license = licenses.mpl11;
maintainers = with maintainers; [ cstrahan ];
platforms = with platforms; unix;
};
}