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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
704 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
2018-12-25 17:57:21 +00:00
pname = "uchardet";
2020-05-10 18:52:27 +00:00
version = "0.0.7";
2018-12-25 17:57:21 +00:00
outputs = [ "bin" "out" "man" "dev" ];
2018-12-25 17:57:21 +00:00
src = fetchurl {
url = "https://www.freedesktop.org/software/${pname}/releases/${pname}-${version}.tar.xz";
2020-05-10 18:52:27 +00:00
sha256 = "1ca51sryhryqz82v4d0graaiqqq5w2f33a9gj83b910xmq499irz";
};
nativeBuildInputs = [ cmake ];
2021-02-07 12:32:57 +00:00
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/";
2018-12-25 17:57:21 +00:00
license = licenses.mpl11;
maintainers = with maintainers; [ cstrahan ];
platforms = with platforms; unix;
};
}