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
34
pkgs/development/tools/guile/g-wrap/default.nix
Normal file
34
pkgs/development/tools/guile/g-wrap/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ fetchurl, lib, stdenv, guile, guile-lib, libffi, pkg-config, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "g-wrap";
|
||||
version = "1.9.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
# Note: Glib support is optional, but it's quite useful (e.g., it's used by
|
||||
# Guile-GNOME).
|
||||
buildInputs = [ guile glib guile-lib ];
|
||||
|
||||
propagatedBuildInputs = [ libffi ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A wrapper generator for Guile";
|
||||
longDescription = ''
|
||||
G-Wrap is a tool (and Guile library) for generating function wrappers for
|
||||
inter-language calls. It currently only supports generating Guile
|
||||
wrappers for C functions.
|
||||
'';
|
||||
homepage = "https://www.nongnu.org/g-wrap/";
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ vyp ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
30
pkgs/development/tools/guile/guile-lint/default.nix
Normal file
30
pkgs/development/tools/guile/guile-lint/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchurl, guile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "guile-lint";
|
||||
version = "14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.tuxfamily.org/user42/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1gnhnmki05pkmzpbfc07vmb2iwza6vhy75y03bw2x2rk4fkggz2v";
|
||||
};
|
||||
|
||||
buildInputs = [ guile ];
|
||||
|
||||
unpackPhase = ''tar xjvf "$src" && sourceRoot="$PWD/${pname}-${version}"'';
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace guile-lint.in --replace \
|
||||
"exec guile" "exec ${guile}/bin/guile"
|
||||
'';
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Checks syntax and semantics in a Guile program or module";
|
||||
homepage = "https://user42.tuxfamily.org/guile-lint/index.html";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ vyp ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue