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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/corestuff/CMakeLists.txt 2022-01-29 14:09:02.699700817 +0700
+++ b/CMakeLists.txt 2022-01-29 14:09:23.211754633 +0700
@@ -120,8 +120,3 @@
install( FILES org.cubocore.CoreStuff.desktop DESTINATION share/applications )
install( FILES org.cubocore.CoreStuff.svg DESTINATION share/icons/hicolor/scalable/apps/ )
install( FILES background/default.svg DESTINATION share/coreapps/background )
-
-if ( DEFINED ADD_AUTOSTART )
- message("INSTALLING TO AUTOSTART LOCATION")
- install( FILES org.cubocore.CoreStuff.desktop DESTINATION /etc/xdg/autostart )
-endif()

View file

@ -0,0 +1,40 @@
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, kglobalaccel, xorg, cmake, ninja, libcprime, libcsys }:
mkDerivation rec {
pname = "corestuff";
version = "4.3.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-snzW6cqxIyiXJLOD5MoEqmzen1aZN4IALESaIWIOMro=";
};
patches = [
# Remove autostart
./0001-fix-installPhase.patch
];
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtx11extras
kglobalaccel
xorg.libXcomposite
libcprime
libcsys
];
meta = with lib; {
description = "An activity viewer from the C Suite";
homepage = "https://gitlab.com/cubocore/coreapps/corestuff";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}