added formatter and reformated

This commit is contained in:
ISnortPennies 2023-01-19 18:51:32 -05:00
parent 733eda4798
commit e1987d6461
24 changed files with 286 additions and 284 deletions

View file

@ -1,5 +1,5 @@
let
pkgs = import <nixpkgs> {};
let
pkgs = import <nixpkgs> { };
in
with pkgs;
mkShell rec {

View file

@ -15,20 +15,20 @@
}:
rustPlatform.buildRustPackage rec {
pname = "afk-cmds";
version= "1.0.0";
version = "1.0.0";
src = ./afk-cmds;
buildInputs = [
libX11
libXScrnSaver
cairo
glib
gdk-pixbuf
gtkmm3
pango
libappindicator-gtk3
atk
libX11
libXScrnSaver
cairo
glib
gdk-pixbuf
gtkmm3
pango
libappindicator-gtk3
atk
];
nativeBuildInputs = [

View file

@ -8,15 +8,15 @@
}:
rustPlatform.buildRustPackage rec {
pname = "parrot";
version= "1.4.2";
# buildFeatures = ["let_else"];
version = "1.4.2";
# buildFeatures = ["let_else"];
src = fetchFromGitHub {
owner = "aquelemiguel";
repo = "parrot";
rev = "28d7db3c5b50c7ba01eec71a3177875feae44bcc";
sha256 = "sha256-G9SfaiR/KIt+Xm7vLs/EGaImZeSaUbpgAArfK6oVJeM=";
};
buildInputs = [
yt-dlp
openssl
@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
cmake
];
cargoSha256 = "sha256-ScwyPTq9da0hst/b2FX89SP03OX3HrJT3oUKGsHEjgs=";
RUSTC_BOOTSTRAP = 1;
meta = with lib; {

View file

@ -3,13 +3,13 @@
, fetchzip
, glibc
}:
let
wrapper = ''
#!/bin/sh
export LD_LIBRARY_PATH=${stdenv.cc.cc.lib}/lib/:${glibc}/lib/:/run/opengl-driver/lib/
exec ${glibc}/lib64/ld-linux-x86-64.so.2 \
$out/t-rex --no-watchdog \$@
'';
let
wrapper = ''
#!/bin/sh
export LD_LIBRARY_PATH=${stdenv.cc.cc.lib}/lib/:${glibc}/lib/:/run/opengl-driver/lib/
exec ${glibc}/lib64/ld-linux-x86-64.so.2 \
$out/t-rex --no-watchdog \$@
'';
in
stdenv.mkDerivation rec {
pname = "t-rex-miner";
@ -20,19 +20,19 @@ stdenv.mkDerivation rec {
stripRoot = false;
};
installPhase = ''
install -Dm555 $src/t-rex $out/t-rex
mkdir -p $out/bin
touch $out/bin/t-rex
echo "${wrapper}" > $out/bin/t-rex
chmod +x $out/bin/t-rex
install -Dm555 $src/t-rex $out/t-rex
mkdir -p $out/bin
touch $out/bin/t-rex
echo "${wrapper}" > $out/bin/t-rex
chmod +x $out/bin/t-rex
'';
meta = with lib; {
homepage = "https://github.com/ISnortPennies/AFKCommands";
description = "";
license = licenses.unlicense;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
homepage = "https://github.com/ISnortPennies/AFKCommands";
description = "";
license = licenses.unlicense;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}