at 18.03-beta 24 lines 614 B view raw
1{ stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 name = "libuchardet-${version}"; 5 6 version = "0.0.5"; 7 8 src = fetchFromGitHub { 9 owner = "BYVoid"; 10 repo = "uchardet"; 11 rev = "v${version}"; 12 sha256 = "0rkym5bhq3hn7623fy0fggw0qaghha71k8bi41ywqd2lchpahrrm"; 13 }; 14 15 buildInputs = [ cmake ]; 16 17 meta = with stdenv.lib; { 18 description = "Mozilla's Universal Charset Detector C/C++ API"; 19 homepage = https://www.byvoid.com/zht/project/uchardet; 20 license = licenses.mpl11; 21 maintainers = with maintainers; [ cstrahan ]; 22 platforms = with platforms; unix; 23 }; 24}