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
44
pkgs/development/libraries/bobcat/default.nix
Normal file
44
pkgs/development/libraries/bobcat/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitLab, icmake
|
||||
, libmilter, libX11, openssl, readline
|
||||
, util-linux, yodl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bobcat";
|
||||
version = "5.09.01";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
sha256 = "sha256-kaz15mNn/bq1HUknUJqXoLYxPRPX4w340sv9be0M+kQ=";
|
||||
domain = "gitlab.com";
|
||||
rev = version;
|
||||
repo = "bobcat";
|
||||
owner = "fbb-git";
|
||||
};
|
||||
|
||||
buildInputs = [ libmilter libX11 openssl readline util-linux ];
|
||||
nativeBuildInputs = [ icmake yodl ];
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot=$(echo */bobcat)
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace INSTALL.im --replace /usr $out
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
./build libraries all
|
||||
./build man
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
./build install x
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Brokken's Own Base Classes And Templates";
|
||||
homepage = "https://fbb-git.gitlab.io/bobcat/";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue