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,8 @@
|
|||
--- a/corekeyboard/CMakeLists.txt 2022-01-29 14:03:28.149607341 +0700
|
||||
+++ b/CMakeLists.txt 2022-01-29 14:04:00.178733700 +0700
|
||||
@@ -55,5 +55,4 @@
|
||||
|
||||
install( TARGETS corekeyboard DESTINATION bin )
|
||||
install( FILES org.cubocore.CoreKeyboard.desktop DESTINATION share/applications )
|
||||
-install( FILES org.cubocore.CoreKeyboard-Tray.desktop DESTINATION /etc/xdg/autostart )
|
||||
install( FILES org.cubocore.CoreKeyboard.svg DESTINATION share/icons/hicolor/scalable/apps/ )
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, xorg, cmake, ninja, libcprime, libcsys }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "corekeyboard";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cubocore/coreapps";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-yJOcuE6HknDhXCr1qW/NJkerjvBABYntXos0owDDwcw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove autostart
|
||||
./0001-fix-installPhase.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtx11extras
|
||||
xorg.libXtst
|
||||
xorg.libX11
|
||||
libcprime
|
||||
libcsys
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A virtual keyboard for X11 from the C Suite";
|
||||
homepage = "https://gitlab.com/cubocore/coreapps/corekeyboard";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ dan4ik605743 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue