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
50
pkgs/development/libraries/librep/default.nix
Normal file
50
pkgs/development/libraries/librep/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, gdbm
|
||||
, gmp
|
||||
, libffi
|
||||
, pkg-config
|
||||
, readline
|
||||
, texinfo
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "librep";
|
||||
version = "0.92.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.tuxfamily.org/${pname}/${pname}_${version}.tar.xz";
|
||||
sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
texinfo
|
||||
];
|
||||
buildInputs = [
|
||||
gdbm
|
||||
gmp
|
||||
libffi
|
||||
readline
|
||||
];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = with lib;{
|
||||
homepage = "http://sawfish.tuxfamily.org/";
|
||||
description = "Fast, lightweight, and versatile Lisp environment";
|
||||
longDescription = ''
|
||||
librep is a Lisp system for UNIX, comprising an interpreter, a byte-code
|
||||
compiler, and a virtual machine. It can serve as an application extension
|
||||
language but is also suitable for standalone scripts.
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/librep.x86_64-darwin
|
||||
};
|
||||
}
|
||||
# TODO: investigate fetchFromGithub
|
||||
5
pkgs/development/libraries/librep/setup-hook.sh
Normal file
5
pkgs/development/libraries/librep/setup-hook.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
addRepDLLoadPath () {
|
||||
addToSearchPath REP_DL_LOAD_PATH $1/lib/rep
|
||||
}
|
||||
|
||||
addEnvHooks "$hostOffset" addRepDLLoadPath
|
||||
Loading…
Add table
Add a link
Reference in a new issue