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,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()
|
||||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue