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
|
|
@ -0,0 +1,77 @@
|
|||
{ stdenv
|
||||
, boost
|
||||
, coreutils
|
||||
, cppzmq
|
||||
, curl
|
||||
, libepoxy
|
||||
, fetchFromGitHub
|
||||
, glm
|
||||
, gtkmm3
|
||||
, lib
|
||||
, libarchive
|
||||
, libgit2
|
||||
, librsvg
|
||||
, libspnav
|
||||
, libuuid
|
||||
, opencascade
|
||||
, pkg-config
|
||||
, podofo
|
||||
, python3
|
||||
, sqlite
|
||||
, wrapGAppsHook
|
||||
, zeromq
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "horizon-eda";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "horizon-eda";
|
||||
repo = "horizon";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lw5j1zqd2wdafgxl4ahcphaabs7vlw4kaa1c566hwfjxs46dmg9";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cppzmq
|
||||
curl
|
||||
libepoxy
|
||||
glm
|
||||
gtkmm3
|
||||
libarchive
|
||||
libgit2
|
||||
librsvg
|
||||
libspnav
|
||||
libuuid
|
||||
opencascade
|
||||
podofo
|
||||
python3
|
||||
sqlite
|
||||
zeromq
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
boost.dev
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
CASROOT = opencascade;
|
||||
|
||||
installFlags = [
|
||||
"INSTALL=${coreutils}/bin/install"
|
||||
"DESTDIR=$(out)"
|
||||
"PREFIX="
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free EDA software to develop printed circuit boards";
|
||||
homepage = "https://horizon-eda.org";
|
||||
maintainers = with maintainers; [ guserav ];
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue