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
58
pkgs/development/libraries/enchant/2.x.nix
Normal file
58
pkgs/development/libraries/enchant/2.x.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, aspell
|
||||
, pkg-config
|
||||
, glib
|
||||
, hunspell
|
||||
, hspell
|
||||
, nuspell
|
||||
, unittest-cpp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "enchant";
|
||||
version = "2.3.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-zpukf9TTQDG9aURVmKaYpmEWArKw6R1wXpGm9QmerW4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
hunspell
|
||||
nuspell
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
unittest-cpp
|
||||
];
|
||||
|
||||
# libtool puts these to .la files
|
||||
propagatedBuildInputs = [
|
||||
hspell
|
||||
aspell
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
configureFlags = [
|
||||
"--enable-relocatable" # needed for tests
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generic spell checking library";
|
||||
homepage = "https://abiword.github.io/enchant/";
|
||||
license = licenses.lgpl21Plus; # with extra provision for non-free checkers
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue