mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #299033 from SFrijters/urserver-3.13
urserver: 3.10.0.2467 -> 3.13.0.2505
This commit is contained in:
commit
0d661da33c
@ -14,7 +14,7 @@ in {
|
||||
allowedUDPPorts = [ 9511 9512 ];
|
||||
};
|
||||
|
||||
systemd.user.services.urserver = {
|
||||
systemd.user.services.urserver = {
|
||||
description = ''
|
||||
Server for Unified Remote: The one-and-only remote for your computer.
|
||||
'';
|
||||
|
@ -7,13 +7,13 @@
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "urserver";
|
||||
version = "3.10.0.2467";
|
||||
version = "3.13.0.2505";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion version) 3}/urserver-${version}.tar.gz";
|
||||
sha256 = "sha256-IaLRhia6mb4h7x5MbBRtPJxJ3uTlkfOzmoTwYzwfbWA=";
|
||||
url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion finalAttrs.version) 3}/urserver-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-rklv6Ppha1HhEPunbL8ELYdQ9Z1FN4FrVsNwny3/gA4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
install -m755 -D urserver $out/bin/urserver
|
||||
wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}"
|
||||
wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"
|
||||
cp -r remotes $out/bin/remotes
|
||||
cp -r manager $out/bin/manager
|
||||
'';
|
||||
@ -43,4 +43,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ sfrijters ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user