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/tools/build-managers/build2/bdep.nix
Normal file
50
pkgs/development/tools/build-managers/build2/bdep.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, stdenv
|
||||
, build2
|
||||
, fetchurl
|
||||
, libbpkg
|
||||
, libbutl
|
||||
, libodb
|
||||
, libodb-sqlite
|
||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||
, enableStatic ? !enableShared
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bdep";
|
||||
version = "0.14.0";
|
||||
|
||||
outputs = [ "out" "doc" "man" ];
|
||||
src = fetchurl {
|
||||
url = "https://pkg.cppget.org/1/alpha/build2/bdep-${version}.tar.gz";
|
||||
sha256 = "sha256-sizrGmSixkkJL9nocA4B1I5n9OySxyuZ2bNc1Z4zmPg=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
build2
|
||||
];
|
||||
buildInputs = [
|
||||
libbpkg
|
||||
libbutl
|
||||
libodb
|
||||
libodb-sqlite
|
||||
];
|
||||
|
||||
build2ConfigureFlags = [
|
||||
"config.bin.lib=${build2.configSharedStatic enableShared enableStatic}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "build2 project dependency manager";
|
||||
# https://build2.org/bdep/doc/bdep.xhtml
|
||||
longDescription = ''
|
||||
The build2 project dependency manager is used to manage the dependencies
|
||||
of a project during development.
|
||||
'';
|
||||
homepage = "https://build2.org/";
|
||||
changelog = "https://git.build2.org/cgit/bdep/tree/NEWS";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ r-burns ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue