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
31
pkgs/development/libraries/libthai/default.nix
Normal file
31
pkgs/development/libraries/libthai/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, installShellFiles, pkg-config, libdatrie }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libthai";
|
||||
version = "0.1.29";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/tlwg/libthai/releases/download/v${version}/libthai-${version}.tar.xz";
|
||||
sha256 = "sha256-/IDMfctQ4RMCtBfOvSTy0wqLmHKS534AMme5EA0PS80=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles (lib.getBin libdatrie) pkg-config ];
|
||||
|
||||
buildInputs = [ libdatrie ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage man/man3/*.3
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://linux.thai.net/projects/libthai/";
|
||||
description = "Set of Thai language support routines";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue