uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/tools/text/kakasi/default.nix
Normal file
35
pkgs/tools/text/kakasi/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchurl, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kakasi";
|
||||
version = "2.3.6";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Kanji Kana Simple Inverter";
|
||||
longDescription = ''
|
||||
KAKASI is the language processing filter to convert Kanji
|
||||
characters to Hiragana, Katakana or Romaji and may be
|
||||
helpful to read Japanese documents.
|
||||
'';
|
||||
homepage = "http://kakasi.namazu.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://kakasi.namazu.org/stable/kakasi-${version}.tar.xz";
|
||||
sha256 = "1qry3xqb83pjgxp3my8b1sy77z4f0893h73ldrvdaky70cdppr9f";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
for a in tests/kakasi-* ; do
|
||||
substituteInPlace $a \
|
||||
--replace "/bin/echo" echo
|
||||
done
|
||||
'';
|
||||
|
||||
doCheck = false; # fails 1 of 6 tests
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue