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
28
pkgs/tools/text/enca/default.nix
Normal file
28
pkgs/tools/text/enca/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, libiconv, recode }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "enca";
|
||||
version = "1.19";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.cihar.com/enca/${pname}-${version}.tar.xz";
|
||||
sha256 = "1f78jmrggv3jymql8imm5m9yc8nqjw5l99mpwki2245l8357wj1s";
|
||||
};
|
||||
|
||||
buildInputs = [ recode libiconv ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Detects the encoding of text files and reencodes them";
|
||||
|
||||
longDescription = ''
|
||||
Enca detects the encoding of text files, on the basis of knowledge
|
||||
of their language. It can also convert them to other encodings,
|
||||
allowing you to recode files without knowing their current encoding.
|
||||
It supports most of Central and East European languages, and a few
|
||||
Unicode variants, independently on language.
|
||||
'';
|
||||
|
||||
license = licenses.gpl2;
|
||||
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue