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
45
pkgs/servers/urserver/default.nix
Normal file
45
pkgs/servers/urserver/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, bluez
|
||||
, libX11
|
||||
, libXtst
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "urserver";
|
||||
version = "3.10.0.2467";
|
||||
|
||||
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=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
bluez
|
||||
libX11
|
||||
libXtst
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -m755 -D urserver $out/bin/urserver
|
||||
wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}"
|
||||
cp -r remotes $out/bin/remotes
|
||||
cp -r manager $out/bin/manager
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.unifiedremote.com/";
|
||||
description = "The one-and-only remote for your computer";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ sfrijters ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue