Merge pull request #160246 from AtilaSaraiva/droidmote
droidmote: init at 3.0.6
This commit is contained in:
commit
e46ad680a6
2 changed files with 63 additions and 0 deletions
pkgs
61
pkgs/tools/inputmethods/droidmote/default.nix
Normal file
61
pkgs/tools/inputmethods/droidmote/default.nix
Normal file
|
@ -0,0 +1,61 @@
|
|||
{ lib, stdenv, fetchurl, autoPatchelfHook }:
|
||||
|
||||
let
|
||||
srcs = {
|
||||
x86_64-linux = fetchurl {
|
||||
urls = [
|
||||
"https://videomap.it/script/dms-ubuntu-x64"
|
||||
"https://archive.org/download/videomap/dms-ubuntu-x64"
|
||||
];
|
||||
sha256 = "1x7pp6k27lr206a8j2pn0wf4wjb0zi28s0g1g3rb08jmr8fh1jnh";
|
||||
};
|
||||
i686-linux = fetchurl {
|
||||
urls = [
|
||||
"https://videomap.it/script/dms-ubuntu-x32"
|
||||
"https://archive.org/download/videomap/dms-ubuntu-x32"
|
||||
];
|
||||
sha256 = "1d62d7jz50wzk5rqqm3xab66jdzi9i1j6mwxf7r7nsgm6j5zz8r4";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
urls = [
|
||||
"https://videomap.it/script/dms-ubuntu-arm64"
|
||||
"https://archive.org/download/videomap/dms-ubuntu-arm64"
|
||||
];
|
||||
sha256 = "1l1x7iqbxn6zsh3d37yb5x15qsxlwy3cz8g2g8vnzkgaafw9vva0";
|
||||
};
|
||||
armv7l-linux = fetchurl {
|
||||
urls = [
|
||||
"https://videomap.it/script/dms-ubuntu-arm"
|
||||
"https://archive.org/download/videomap/dms-ubuntu-arm"
|
||||
];
|
||||
sha256 = "1i7q9mylzvbsfydv4xf83nyqkh0nh01612jrqm93q1w6d0k2zvcd";
|
||||
};
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "droidmote";
|
||||
version = "3.0.6";
|
||||
|
||||
src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -m755 -D $src $out/bin/droidmote
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Control your computer from your couch";
|
||||
homepage = "https://www.videomap.it/";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ atila ];
|
||||
platforms = lib.attrNames srcs;
|
||||
};
|
||||
}
|
|
@ -2107,6 +2107,8 @@ with pkgs;
|
|||
|
||||
droidcam = callPackage ../applications/video/droidcam { };
|
||||
|
||||
droidmote = callPackage ../tools/inputmethods/droidmote { };
|
||||
|
||||
ecdsautils = callPackage ../tools/security/ecdsautils { };
|
||||
|
||||
echidna = haskell.lib.compose.justStaticExecutables (haskellPackages.callPackage (../tools/security/echidna) { });
|
||||
|
|
Loading…
Reference in a new issue