Merge pull request #246246 from max-amb/master
alt-server: init at 0.0.5
This commit is contained in:
commit
93f690a84f
3 changed files with 49 additions and 0 deletions
|
@ -10530,6 +10530,12 @@
|
|||
fingerprint = "CAEC A12D CE23 37A6 6DFD 17B0 7AC7 631D 70D6 C898";
|
||||
}];
|
||||
};
|
||||
max-amb = {
|
||||
email = "maxpeterambaum@gmail.com";
|
||||
github = "max-amb";
|
||||
githubId = 137820334;
|
||||
name = "Max Ambaum";
|
||||
};
|
||||
maxbrunet = {
|
||||
email = "max@brnt.mx";
|
||||
github = "maxbrunet";
|
||||
|
|
41
pkgs/tools/misc/alt-server/default.nix
Normal file
41
pkgs/tools/misc/alt-server/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv
|
||||
, fetchurl
|
||||
, lib
|
||||
, autoPatchelfHook
|
||||
, avahi-compat
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "AltServer-Linux";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/NyaMisty/AltServer-Linux/releases/download/v${finalAttrs.version}/AltServer-x86_64";
|
||||
hash = "sha256-C+fDrcaewRd6FQMrO443xdDk/vtHycQ5zWLCOLPqF/s=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
avahi-compat
|
||||
];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp $src $out/bin/alt-server
|
||||
chmod u+rx $out/bin/alt-server
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/NyaMisty/AltServer-Linux";
|
||||
description = "AltServer for AltStore, but on-device. Requires root privileges as well as running a custom anisette server currently.";
|
||||
license = licenses.agpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ max-amb ];
|
||||
};
|
||||
})
|
||||
|
|
@ -262,6 +262,8 @@ with pkgs;
|
|||
|
||||
alterx = callPackage ../tools/security/alterx { };
|
||||
|
||||
alt-server = callPackage ../tools/misc/alt-server { };
|
||||
|
||||
asciicam = callPackage ../applications/video/asciicam { };
|
||||
|
||||
asitop = pkgs.python3Packages.callPackage ../os-specific/darwin/asitop { };
|
||||
|
|
Loading…
Reference in a new issue