nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 50 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 iconv, 6 nkf, 7 perl, 8 which, 9 skkDictionaries, 10}: 11 12stdenv.mkDerivation { 13 pname = "cmigemo"; 14 version = "1.3e"; 15 16 src = fetchFromGitHub { 17 owner = "koron"; 18 repo = "cmigemo"; 19 rev = "e0f6145f61e0b7058c3006f344e58571d9fdd83a"; 20 sha256 = "00a6kdmxp16b8x0p04ws050y39qspd1bqlfq74bkirc55b77a2m1"; 21 }; 22 23 nativeBuildInputs = [ 24 iconv 25 nkf 26 perl 27 which 28 ]; 29 30 postUnpack = '' 31 cp ${skkDictionaries.l}/share/skk/SKK-JISYO.L source/dict/ 32 ''; 33 34 patches = [ ./no-http-tool-check.patch ]; 35 36 makeFlags = [ "INSTALL=install" ]; 37 38 buildFlags = [ (if stdenv.hostPlatform.isDarwin then "osx-all" else "gcc-all") ]; 39 40 installTargets = [ (if stdenv.hostPlatform.isDarwin then "osx-install" else "gcc-install") ]; 41 42 meta = { 43 description = "Tool that supports Japanese incremental search with Romaji"; 44 mainProgram = "cmigemo"; 45 homepage = "https://www.kaoriya.net/software/cmigemo"; 46 license = lib.licenses.mit; 47 maintainers = [ lib.maintainers.cohei ]; 48 platforms = lib.platforms.all; 49 }; 50}