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/recode/default.nix
Normal file
28
pkgs/tools/text/recode/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, python3, perl, intltool, flex, texinfo, libiconv, libintl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "recode";
|
||||
version = "3.7.12";
|
||||
|
||||
# Use official tarball, avoid need to bootstrap/generate build system
|
||||
src = fetchurl {
|
||||
url = "https://github.com/rrthomas/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-TbHJB28E26oVlyb1AAhH5eWoOuyOXGT4ygQ4P2zaEtU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3 python3.pkgs.cython perl intltool flex texinfo libiconv ];
|
||||
buildInputs = [ libintl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/rrthomas/recode";
|
||||
description = "Converts files between various character sets and usages";
|
||||
changelog = "https://github.com/rrthomas/recode/raw/v${version}/NEWS";
|
||||
platforms = lib.platforms.unix;
|
||||
license = with lib.licenses; [ lgpl3Plus gpl3Plus ];
|
||||
maintainers = with lib.maintainers; [ jcumming ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue