nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 856 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libiconv, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "idnkit"; 10 version = "2.3"; 11 12 src = fetchurl { 13 url = "https://jprs.co.jp/idn/idnkit-${finalAttrs.version}.tar.bz2"; 14 hash = "sha256-JtBxF2UAQqtGk/DgCWAnXVihvnc+bRPFA7o4RxDz6X4="; 15 }; 16 17 buildInputs = [ libiconv ]; 18 19 # Ignore errors since gcc-14. 20 # localconverter.c:602:21/607:26/633:26: error: passing argument 2 of 'iconv' from incompatible pointer type 21 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; 22 23 meta = { 24 homepage = "https://jprs.co.jp/idn/index-e.html"; 25 description = "Provides functionalities about i18n domain name processing"; 26 license = { 27 fullName = "Open Source Code License version 1.1"; 28 url = "https://jprs.co.jp/idn/idnkit2-OSCL.txt"; 29 }; 30 platforms = lib.platforms.linux; 31 }; 32})