Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 35 lines 707 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 perl, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "libchardet"; 11 version = "1.0.6"; 12 13 src = fetchFromGitHub { 14 owner = "Joungkyun"; 15 repo = "libchardet"; 16 rev = version; 17 sha256 = "sha256-JhEiWM3q8X+eEBHxv8k9yYOaTGoJOzI+/iFYC0gZJJs="; 18 }; 19 20 nativeBuildInputs = [ 21 autoreconfHook 22 perl 23 ]; 24 25 enableParallelBuilding = true; 26 27 meta = with lib; { 28 description = "Mozilla's Universal Charset Detector C/C++ API"; 29 mainProgram = "chardet-config"; 30 homepage = "ftp://ftp.oops.org/pub/oops/libchardet/index.html"; 31 license = licenses.mpl11; 32 maintainers = [ maintainers.abbradar ]; 33 platforms = platforms.unix; 34 }; 35}