forked from mirrors/nixpkgs
4d5cb8617c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/kdeconnect/versions. These checks were done: - built on NixOS - /nix/store/2w9c8qf2zm1hvmd67j23q0wv5i3v26v0-kdeconnect-1.3.1/bin/kdeconnect-cli passed the binary check. - Warning: no invocation of /nix/store/2w9c8qf2zm1hvmd67j23q0wv5i3v26v0-kdeconnect-1.3.1/bin/kdeconnect-indicator had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/2w9c8qf2zm1hvmd67j23q0wv5i3v26v0-kdeconnect-1.3.1/bin/kdeconnect-handler had a zero exit code or showed the expected version - 1 of 3 passed binary check by having a zero exit code. - 1 of 3 passed binary check by having the new version present in output. - found 1.3.1 with grep in /nix/store/2w9c8qf2zm1hvmd67j23q0wv5i3v26v0-kdeconnect-1.3.1 - directory tree listing: https://gist.github.com/a152722e459e7e8094cfdbd791a8c55b - du listing: https://gist.github.com/665212497cfba50b98110a2788e52eec
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, extra-cmake-modules
|
|
, kcmutils
|
|
, kconfigwidgets
|
|
, kdbusaddons
|
|
, kdoctools
|
|
, kiconthemes
|
|
, ki18n
|
|
, knotifications
|
|
, qca-qt5
|
|
, libfakekey
|
|
, libXtst
|
|
, qtx11extras
|
|
, sshfs
|
|
, makeWrapper
|
|
, kwayland
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kdeconnect";
|
|
version = "1.3.1";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-kde-${version}.tar.xz";
|
|
sha256 = "0rzjbn4d2lh81n19dd3a5ilm8qml3zs3g3ahg75avcw8770rr344";
|
|
};
|
|
|
|
buildInputs = [
|
|
libfakekey libXtst
|
|
ki18n kiconthemes kcmutils kconfigwidgets kdbusaddons knotifications
|
|
qca-qt5 qtx11extras makeWrapper kwayland
|
|
];
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/lib/libexec/kdeconnectd --prefix PATH : ${lib.makeBinPath [ sshfs ]}
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "KDE Connect provides several features to integrate your phone and your computer";
|
|
homepage = https://community.kde.org/KDEConnect;
|
|
license = with licenses; [ gpl2 ];
|
|
maintainers = with maintainers; [ fridh ];
|
|
};
|
|
}
|