git.iko.soy/typeable/nixpkgs
on master help sign in
libuchardet: new package

Yet another C wrapper for Mozilla's Universal Charset Detector C++ API.

commit86629f7c7ff72d45b51eba3753423cb3dede822a authorCharles Strahan <charles.c.strahan@gmail.com> dateSun 21 Dec 2014, 23:35 (12 years ago) parent7e4ca1c
2 files changed+25
pkgs/development/libraries/libuchardet/default.nix+23 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/libuchardet/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ stdenv, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
4+ name = "libuchardet-${version}";
5+
6+ version = "0.0.1";
7+
8+ src = fetchFromGitHub {
9+ owner = "BYVoid";
10+ repo = "uchardet";
11+ rev = "69b7133995e4ee260b093323c57a7f8c6c6803b8";
12+ sha256 = "0yqrc9a7wxsh2fvigjppjp55v4r1q8p40yh048xsvl3kly2rkqy9";
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+ };
23+}
pkgs/top-level/all-packages.nix+2
@@ -5715,6 +5715,8 @@ let
57155715
57165716 libchardet = callPackage ../development/libraries/libchardet { };
57175717
5718+ libuchardet = callPackage ../development/libraries/libuchardet { };
5719+
57185720 libchop = callPackage ../development/libraries/libchop { };
57195721
57205722 libcm = callPackage ../development/libraries/libcm { };