mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
libuchardet: new package
Yet another C wrapper for Mozilla's Universal Charset Detector C++ API.
This commit is contained in:
parent
7e4ca1cc75
commit
86629f7c7f
23
pkgs/development/libraries/libuchardet/default.nix
Normal file
23
pkgs/development/libraries/libuchardet/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libuchardet-${version}";
|
||||
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BYVoid";
|
||||
repo = "uchardet";
|
||||
rev = "69b7133995e4ee260b093323c57a7f8c6c6803b8";
|
||||
sha256 = "0yqrc9a7wxsh2fvigjppjp55v4r1q8p40yh048xsvl3kly2rkqy9";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Mozilla's Universal Charset Detector C/C++ API";
|
||||
homepage = https://www.byvoid.com/zht/project/uchardet;
|
||||
license = licenses.mpl11;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
};
|
||||
}
|
|
@ -5715,6 +5715,8 @@ let
|
|||
|
||||
libchardet = callPackage ../development/libraries/libchardet { };
|
||||
|
||||
libuchardet = callPackage ../development/libraries/libuchardet { };
|
||||
|
||||
libchop = callPackage ../development/libraries/libchop { };
|
||||
|
||||
libcm = callPackage ../development/libraries/libcm { };
|
||||
|
|
Loading…
Reference in a new issue