Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-01-14 12:01:08 +00:00 committed by GitHub
commit 306d708b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 95 additions and 19 deletions

View File

@ -2,35 +2,29 @@
, stdenv
, fetchFromGitHub
, git
, libXi
, libXinerama
, libXft
, libXfixes
, libXtst
, libX11
, libXext
, waylandSupport ? false, cairo, libxkbcommon, wayland
, withWayland ? true, cairo, libxkbcommon, wayland
, withX ? true, libXi, libXinerama, libXft, libXfixes, libXtst, libX11, libXext
}:
stdenv.mkDerivation rec {
pname = "warpd";
version = "1.3.4";
version = "1.3.5";
src = fetchFromGitHub {
owner = "rvaiya";
repo = "warpd";
rev = "v${version}";
sha256 = "sha256-aNv2/+tREvKlpTAsbvmFxkXzONNt73/061i4E3fPFBM=";
hash = "sha256-5B3Ec+R1vF2iI0ennYcsRlnFXJkSns0jVbyAWJA4lTU=";
leaveDotGit = true;
};
nativeBuildInputs = [ git ];
buildInputs = if waylandSupport then [
buildInputs = lib.optionals withWayland [
cairo
libxkbcommon
wayland
] else [
] ++ lib.optionals withX [
libXi
libXinerama
libXft
@ -40,10 +34,12 @@ stdenv.mkDerivation rec {
libXext
];
makeFlags = [ "PREFIX=$(out)" ] ++ lib.optionals waylandSupport [ "PLATFORM=wayland" ];
makeFlags = [ "PREFIX=$(out)" ]
++ lib.optional (!withWayland) "DISABLE_WAYLAND=y"
++ lib.optional (!withX) "DISABLE_X=y";
postPatch = ''
substituteInPlace Makefile \
substituteInPlace mk/linux.mk \
--replace '-m644' '-Dm644' \
--replace '-m755' '-Dm755' \
--replace 'warpd.1.gz $(DESTDIR)' 'warpd.1.gz -t $(DESTDIR)' \

View File

@ -79,6 +79,7 @@ let
plasma-settings = callPackage ./plasma-settings.nix {};
plasmatube = callPackage ./plasmatube {};
spacebar = callPackage ./spacebar.nix { inherit srcs; };
tokodon = callPackage ./tokodon.nix {};
};
in lib.makeScope libsForQt5.newScope packages

View File

@ -0,0 +1,78 @@
{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, pkg-config
, kconfig
, kdbusaddons
, ki18n
, kirigami2
, kirigami-addons
, knotifications
, libwebsockets
, qqc2-desktop-style
, qtbase
, qtkeychain
, qtmultimedia
, qtquickcontrols2
, qttools
, qtwebsockets
, kitemmodels
, pimcommon
# Workarounds for the point release being missing.
, libsForQt5
, fetchFromGitLab
}:
# NOTE: we cannot use `mkDerivation` injected by the Plasma Mobile package
# set for the point release, as the point release was not uploaded to
# the Plasma Mobile gear repo, and the injected `mkDerivation` only can
# use the src (and version) from the `srcs` set.
libsForQt5.mkDerivation rec {
pname = "tokodon";
version = "22.11.2";
# NOTE: the tokodon point release was not uploaded to the Plasma Mobile gear repo.
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "network";
repo = pname;
rev = "v${version}";
hash = "sha256-uE9iHZDfpn1NTCeJPgsp2WBe0curdguTUbMTrkrmJ6M=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
];
buildInputs = [
kconfig
kdbusaddons
ki18n
kirigami2
kirigami-addons
knotifications
qqc2-desktop-style
qtbase
qtkeychain
qtmultimedia
qtquickcontrols2
qttools
qtwebsockets
kitemmodels
pimcommon
];
meta = with lib; {
description = "A Mastodon client for Plasma and Plasma Mobile";
homepage = "https://invent.kde.org/network/tokodon";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ matthiasbeyer ];
};
}

View File

@ -3,16 +3,16 @@
buildGoModule rec {
pname = "imgproxy";
version = "3.9.0";
version = "3.13.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
sha256 = "sha256-+eI/I+olBPoHez+rjj7Cgqc71M0ZcD9oa35BLQwHPsU=";
sha256 = "sha256-dPGqiNGUI5WwqT65DvY6JXv9/1lc1NZlJbMWUYGgfYY=";
rev = "v${version}";
};
vendorSha256 = "sha256-A6oToGLAFeG0Rd3koDOx+bBsiCye+OcihBwENZNFBSY=";
vendorHash = "sha256-TUu/dWtjs/ua3uwi029gtev0rcAZBCN9AHD9RPZsaDI=";
nativeBuildInputs = [ pkg-config ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "munge";
version = "0.5.14";
version = "0.5.15";
src = fetchFromGitHub {
owner = "dun";
repo = "munge";
rev = "${pname}-${version}";
sha256 = "15h805rwcb9f89dyrkxfclzs41n3ff8x7cc1dbvs8mb0ds682c4j";
sha256 = "sha256-Ot/oH/RdfPAzoi3P7EYkxS0Fr24KRWfBJxBEWRF0ctI=";
};
strictDeps = true;

View File

@ -1513,6 +1513,7 @@ mapAliases ({
timetable = throw "timetable has been removed, as the upstream project has been abandoned"; # Added 2021-09-05
tkcvs = tkrev; # Added 2022-03-07
togglesg-download = throw "togglesg-download was removed 2021-04-30 as it's unmaintained"; # Added 2021-04-30
tokodon = plasma5Packages.tokodon;
tomboy = throw "tomboy is not actively developed anymore and was removed"; # Added 2022-01-27
tomcat7 = throw "tomcat7 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16
tomcat8 = throw "tomcat8 has been removed from nixpkgs as it has reached end of life"; # Added 2021-06-16