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
36
pkgs/development/libraries/libcangjie/default.nix
Normal file
36
pkgs/development/libraries/libcangjie/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkg-config, sqlite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libcangjie";
|
||||
version = "1.4_rev_${rev}";
|
||||
rev = "a73c1d8783f7b6526fd9b2cc44a669ffa5518d3d";
|
||||
|
||||
# fetchFromGitLab isn't working for some reason
|
||||
src = fetchurl {
|
||||
url = "https://gitlab.freedesktop.org/cangjie/libcangjie/-/archive/a73c1d8783f7b6526fd9b2cc44a669ffa5518d3d/libcangjie-a73c1d8783f7b6526fd9b2cc44a669ffa5518d3d.tar.gz";
|
||||
sha256 = "sha256-j5IQ0hBefoF8p966YrfZgYCw7ht5twJhYi4l0NneukQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake ];
|
||||
buildInputs = [ libtool m4 sqlite ];
|
||||
|
||||
configureScript = "./autogen.sh";
|
||||
|
||||
preConfigure = ''
|
||||
find . -name '*.sh' -exec sed -e 's@#!/bin/bash@${bash}/bin/bash@' -i '{}' ';'
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "A C library implementing the Cangjie input method";
|
||||
longDescription = ''
|
||||
libcangjie is a library implementing the Cangjie input method.
|
||||
'';
|
||||
homepage = "https://gitlab.freedesktop.org/cangjie/libcangjie";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
|
||||
maintainers = [ lib.maintainers.linquize ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue