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
49
pkgs/desktops/plasma-5/3rdparty/addons/bismuth/default.nix
vendored
Normal file
49
pkgs/desktops/plasma-5/3rdparty/addons/bismuth/default.nix
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, kcoreaddons
|
||||
, kwindowsystem
|
||||
, plasma-framework
|
||||
, systemsettings
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, esbuild
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "bismuth";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bismuth-Forge";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-SGeqTmU603gKlzCUJ6AMaG7++9JvMw5EpSATwJEqNq8=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_TSC=OFF"
|
||||
"-DUSE_NPM=OFF"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
esbuild
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons
|
||||
kwindowsystem
|
||||
plasma-framework
|
||||
systemsettings
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A dynamic tiling extension for KWin";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pasqui23 ];
|
||||
homepage = "https://bismuth-forge.github.io/bismuth/";
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
32
pkgs/desktops/plasma-5/3rdparty/addons/caffeine-plus.nix
vendored
Normal file
32
pkgs/desktops/plasma-5/3rdparty/addons/caffeine-plus.nix
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub, extra-cmake-modules
|
||||
, kwindowsystem, plasma-framework }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "plasma-applet-caffeine-plus";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qunxyz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/Nz0kSDGok7GjqSQtjH/8q/u6blVTFPO6kfjEyt/jEo=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
kwindowsystem plasma-framework
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-Wno-dev"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Disable screensaver and auto suspend";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
43
pkgs/desktops/plasma-5/3rdparty/addons/krunner-ssh.nix
vendored
Normal file
43
pkgs/desktops/plasma-5/3rdparty/addons/krunner-ssh.nix
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchFromGitLab, python3 }:
|
||||
let
|
||||
pythonEnv = python3.withPackages (p: with p; [ dbus-python pygobject3 ]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "krunner-ssh";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "Programie";
|
||||
repo = "krunner-ssh";
|
||||
rev = version;
|
||||
sha256 = "sha256-rFTTvmetDeN6t0axVc+8t1TRiuyPBpwqhvsq2IFxa/A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -e "s|Exec=.*|Exec=$out/libexec/runner.py|" -i ssh-runner.service
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonEnv
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
patchShebangs runner.py
|
||||
|
||||
install -m 0755 -D runner.py $out/libexec/runner.py
|
||||
install -m 0755 -D ssh-runner.desktop $out/share/kservices5/ssh-runner.desktop
|
||||
install -m 0755 -D ssh-runner.service $out/share/dbus-1/services/com.selfcoders.ssh-runner.service
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple backend for KRunner providing SSH hosts from your .ssh/known_hosts file as search results";
|
||||
homepage = "https://selfcoders.com/projects/krunner-ssh";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aanderse ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
40
pkgs/desktops/plasma-5/3rdparty/addons/krunner-symbols.nix
vendored
Normal file
40
pkgs/desktops/plasma-5/3rdparty/addons/krunner-symbols.nix
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv
|
||||
, cmake, fetchFromGitHub, extra-cmake-modules
|
||||
, qtbase, wrapQtAppsHook, ki18n, kdelibs4support, krunner
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "krunner-symbols";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "domschrei";
|
||||
repo = "krunner-symbols";
|
||||
rev = version;
|
||||
sha256 = "sha256-YsoZdPTWpk3/YERwerrVEcaf2IfGVJwpq32onhP8Exo=";
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase ki18n kdelibs4support krunner ];
|
||||
nativeBuildInputs = [ cmake wrapQtAppsHook extra-cmake-modules ];
|
||||
|
||||
postPatch = ''
|
||||
# symbols.cpp hardcodes the location of configuration files
|
||||
substituteInPlace symbols.cpp \
|
||||
--replace "/usr/share/config/krunner-symbol" "$out/share/config/krunner-symbol"
|
||||
|
||||
# change cmake flag names to output using the correct qt-plugin prefix and kservice location
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace "LOCATION_PLUGIN" "KDE_INSTALL_PLUGINDIR" \
|
||||
--replace "LOCATION_DESKTOP" "KDE_INSTALL_KSERVICES5DIR"
|
||||
'';
|
||||
|
||||
cmakeFlags = [ "-DLOCATION_CONFIG=share/config" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A little krunner plugin (Plasma 5) to retrieve unicode symbols, or any other string, based on a corresponding keyword";
|
||||
homepage = "https://github.com/domschrei/krunner-symbols";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ hqurve ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
40
pkgs/desktops/plasma-5/3rdparty/addons/virtual-desktop-bar.nix
vendored
Normal file
40
pkgs/desktops/plasma-5/3rdparty/addons/virtual-desktop-bar.nix
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, extra-cmake-modules
|
||||
, kwindowsystem
|
||||
, plasma-framework
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "plasma-applet-virtual-desktop-bar";
|
||||
version = "unstable-2021-02-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wsdfhjxc";
|
||||
repo = "virtual-desktop-bar";
|
||||
rev = "3e9bbddb8def8da65071a1c325eaa06598e8a473";
|
||||
sha256 = "192ns6c2brzq46pg385n0v1ydbz52aaa8f5dgfw5251hrw9c7bxg";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
kwindowsystem plasma-framework qtx11extras
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-Wno-dev"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Manage virtual desktops dynamically in a convenient way";
|
||||
homepage = "https://github.com/wsdfhjxc/virtual-desktop-bar";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
||||
39
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/dynamic-workspaces.nix
vendored
Normal file
39
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/dynamic-workspaces.nix
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub
|
||||
, kcoreaddons, kwindowsystem, plasma-framework, systemsettings }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "dynamic_workspaces";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "d86leader";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1mnwh489i6l8z9s5a1zl7zybkw76pp9fdmmis41mym7r4wz4iznm";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons kwindowsystem plasma-framework systemsettings
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
# 1. --global still installs to $HOME/.local/share so we use --packageroot
|
||||
# 2. plasmapkg2 doesn't copy metadata.desktop into place, so we do that manually
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
plasmapkg2 --type kwinscript --install ${src} --packageroot $out/share/kwin/scripts
|
||||
install -Dm644 ${src}/metadata.desktop $out/share/kservices5/dynamic_workspaces.desktop
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "KWin script that automatically adds/removes virtual desktops";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
39
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/krohnkite.nix
vendored
Normal file
39
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/krohnkite.nix
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub
|
||||
, kcoreaddons, kwindowsystem, plasma-framework, systemsettings }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "krohnkite";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "esjeon";
|
||||
repo = "krohnkite";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HZCD5884pHuHey+d+HRx/F/Sp1b6ZUy7MdqqZ08H0lU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons kwindowsystem plasma-framework systemsettings
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
# 1. --global still installs to $HOME/.local/share so we use --packageroot
|
||||
# 2. plasmapkg2 doesn't copy metadata.desktop into place, so we do that manually
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
plasmapkg2 --type kwinscript --install ${src}/res/ --packageroot $out/share/kwin/scripts
|
||||
install -Dm644 ${src}/res/metadata.desktop $out/share/kservices5/krohnkite.desktop
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A dynamic tiling extension for KWin";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ seqizz ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
37
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/parachute.nix
vendored
Normal file
37
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/parachute.nix
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub
|
||||
, kcoreaddons, kwindowsystem, plasma-framework, systemsettings }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "parachute";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tcorreabr";
|
||||
repo = "parachute";
|
||||
rev = "v${version}";
|
||||
sha256 = "QIWb1zIGfkS+Bef7LK+JA6XpwGUW+79XZY47j75nlCE=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons kwindowsystem plasma-framework systemsettings
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
# 1. --global still installs to $HOME/.local/share so we use --packageroot
|
||||
# 2. plasmapkg2 doesn't copy metadata.desktop into place, so we do that manually
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
plasmapkg2 --type kwinscript --install ${src} --packageroot $out/share/kwin/scripts
|
||||
install -Dm644 ${src}/metadata.desktop $out/share/kservices5/Parachute.desktop
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Look at your windows and desktops from above.";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
44
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/tiling.nix
vendored
Normal file
44
pkgs/desktops/plasma-5/3rdparty/kwin/scripts/tiling.nix
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, mkDerivation, fetchFromGitHub
|
||||
, kcoreaddons, kwindowsystem, plasma-framework, systemsettings }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "kwin-tiling";
|
||||
version = "2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kwin-scripts";
|
||||
repo = "kwin-tiling";
|
||||
rev = "v${version}";
|
||||
sha256 = "095slpvipy0zcmbn0l7mdnl9g74jaafkr2gqi09b0by5fkvnbh37";
|
||||
};
|
||||
|
||||
# This is technically not needed, but we might as well clean up
|
||||
postPatch = ''
|
||||
rm release.sh
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons kwindowsystem plasma-framework systemsettings
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
# 1. --global still installs to $HOME/.local/share so we use --packageroot
|
||||
# 2. plasmapkg2 doesn't copy metadata.desktop into place, so we do that manually
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
plasmapkg2 --type kwinscript --install ${src} --packageroot $out/share/kwin/scripts
|
||||
install -Dm644 ${src}/metadata.desktop $out/share/kservices5/kwin-script-tiling.desktop
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tiling script for kwin";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
46
pkgs/desktops/plasma-5/3rdparty/lightly/default.nix
vendored
Normal file
46
pkgs/desktops/plasma-5/3rdparty/lightly/default.nix
vendored
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, kdecoration
|
||||
, kcoreaddons
|
||||
, kguiaddons
|
||||
, kconfigwidgets
|
||||
, kwindowsystem
|
||||
, kiconthemes
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
mkDerivation rec{
|
||||
pname = "lightly";
|
||||
version = "0.4.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Luwx";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "k1fEZbhzluNlAmj5s/O9X20aCVQxlWQm/Iw/euX7cmI=";
|
||||
};
|
||||
|
||||
extraCmakeFlags=["-DBUILD_TESTING=OFF"];
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons
|
||||
kguiaddons
|
||||
kconfigwidgets
|
||||
kwindowsystem
|
||||
kiconthemes
|
||||
qtx11extras
|
||||
kdecoration
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A modern style for qt applications";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ pasqui23 ];
|
||||
homepage = "https://github.com/Luwx/Lightly/";
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue