Merge pull request #290135 from Aleksanaa/valent

valent: unstable-2023-11-11 -> 0-unstable-2024-02-12
This commit is contained in:
Nick Cao 2024-02-26 10:34:14 -05:00 committed by GitHub
commit 0678f76907
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,14 +21,14 @@
stdenv.mkDerivation rec {
pname = "valent";
version = "unstable-2023-11-11";
version = "0-unstable-2024-02-12";
src = fetchFromGitHub {
owner = "andyholmes";
repo = "valent";
rev = "51bca834b1c52a1cc49b79fe79d45dfcd9113c02";
rev = "70ef1aa42eb2df5e9c3aa4faa014c8d539450018";
fetchSubmodules = true;
hash = "sha256-jmhio/vS+w37IW81XgV4xfb/6ralMgAlwi3zigr4t20=";
hash = "sha256-JdrkAtn21NoX+SI6PNWMdE8HLKhLc3HKFhwKydENkvg=";
};
nativeBuildInputs = [
@ -62,9 +62,26 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "An implementation of the KDE Connect protocol, built on GNOME platform libraries";
homepage = "https://github.com/andyholmes/valent/";
longDescription = ''
Note that you have to open firewall ports for other devices
to connect to it. Use either:
```nix
programs.kdeconnect = {
enable = true;
package = pkgs.valent;
}
```
or open corresponding firewall ports directly:
```nix
networking.firewall = rec {
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
allowedUDPPortRanges = allowedTCPPortRanges;
}
```
'';
homepage = "https://valent.andyholmes.ca";
changelog = "https://github.com/andyholmes/valent/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ gpl3Plus cc0 ];
license = with licenses; [ gpl3Plus cc0 cc-by-sa-30 ];
maintainers = with maintainers; [ federicoschonborn aleksana ];
platforms = platforms.linux;
};