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/applications/misc/sdcv/default.nix
Normal file
31
pkgs/applications/misc/sdcv/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, gettext, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sdcv";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dushistov";
|
||||
repo = "sdcv";
|
||||
rev = "v${version}";
|
||||
sha256 = "144qpl9b8r2php0zhi9b7vg6flpvdgjy6yfaipydwwhxi4wy9600";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ glib gettext readline ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir locale
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dushistov.github.io/sdcv/";
|
||||
description = "Console version of StarDict";
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue