parent
e7e04fa569
commit
c25978aaa8
6 changed files with 30 additions and 51 deletions
|
@ -71,6 +71,10 @@ const main = async() => {
|
||||||
console.log(runNixUpdate('pam-fprint-grosshack'));
|
console.log(runNixUpdate('pam-fprint-grosshack'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args['ph'] || args['protonhax']) {
|
||||||
|
console.log(runNixUpdate('protonhax'));
|
||||||
|
}
|
||||||
|
|
||||||
if (args['s'] || args['some-sass-language-server']) {
|
if (args['s'] || args['some-sass-language-server']) {
|
||||||
console.log(updateCustomPackage('some-sass-language-server'));
|
console.log(updateCustomPackage('some-sass-language-server'));
|
||||||
}
|
}
|
||||||
|
@ -134,6 +138,7 @@ const main = async() => {
|
||||||
updatePackage('homepage');
|
updatePackage('homepage');
|
||||||
updatePackage('jmusicbot');
|
updatePackage('jmusicbot');
|
||||||
updatePackage('pam-fprint-grosshack');
|
updatePackage('pam-fprint-grosshack');
|
||||||
|
updatePackage('protonhax');
|
||||||
|
|
||||||
|
|
||||||
spawnSync('nixFastBuild', [], {
|
spawnSync('nixFastBuild', [], {
|
||||||
|
|
17
flake.lock
generated
17
flake.lock
generated
|
@ -1648,22 +1648,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"protonhax-src": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1724707175,
|
|
||||||
"narHash": "sha256-P6DVRz8YUF4JY2tiEVZx16FtK4i/rirRdKKZBslbJxU=",
|
|
||||||
"owner": "jcnils",
|
|
||||||
"repo": "protonhax",
|
|
||||||
"rev": "922a7bbade5a93232b3152cc20a7d8422db09c31",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "jcnils",
|
|
||||||
"repo": "protonhax",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"ags": "ags",
|
"ags": "ags",
|
||||||
|
@ -1726,7 +1710,6 @@
|
||||||
"pokemon-colorscripts-src": "pokemon-colorscripts-src",
|
"pokemon-colorscripts-src": "pokemon-colorscripts-src",
|
||||||
"pr-tracker": "pr-tracker",
|
"pr-tracker": "pr-tracker",
|
||||||
"pre-commit-hooks": "pre-commit-hooks",
|
"pre-commit-hooks": "pre-commit-hooks",
|
||||||
"protonhax-src": "protonhax-src",
|
|
||||||
"secrets": "secrets",
|
"secrets": "secrets",
|
||||||
"sioyek-theme-src": "sioyek-theme-src",
|
"sioyek-theme-src": "sioyek-theme-src",
|
||||||
"smartinspect-src": "smartinspect-src",
|
"smartinspect-src": "smartinspect-src",
|
||||||
|
|
|
@ -429,12 +429,6 @@
|
||||||
repo = "git-hooks.nix";
|
repo = "git-hooks.nix";
|
||||||
type = "github";
|
type = "github";
|
||||||
};
|
};
|
||||||
protonhax-src = {
|
|
||||||
flake = false;
|
|
||||||
owner = "jcnils";
|
|
||||||
repo = "protonhax";
|
|
||||||
type = "github";
|
|
||||||
};
|
|
||||||
secrets = {
|
secrets = {
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.follows = "nixpkgs";
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
@ -362,10 +362,6 @@ let
|
||||||
owner = "gjsify";
|
owner = "gjsify";
|
||||||
repo = "ts-for-gir";
|
repo = "ts-for-gir";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
owner = "jcnils";
|
|
||||||
repo = "protonhax";
|
|
||||||
}
|
|
||||||
|
|
||||||
# MPV scripts
|
# MPV scripts
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,9 +21,7 @@
|
||||||
|
|
||||||
librespot-auth = pkgs.callPackage ./librespot-auth {};
|
librespot-auth = pkgs.callPackage ./librespot-auth {};
|
||||||
|
|
||||||
pam-fprint-grosshack = pkgs.callPackage ./pam-fprint-grosshack {
|
pam-fprint-grosshack = pkgs.callPackage ./pam-fprint-grosshack {};
|
||||||
inherit (inputs) pam-fprint-grosshack-src;
|
|
||||||
};
|
|
||||||
|
|
||||||
piper = pkgs.callPackage ./piper {
|
piper = pkgs.callPackage ./piper {
|
||||||
inherit (inputs) piper-src;
|
inherit (inputs) piper-src;
|
||||||
|
@ -36,10 +34,7 @@
|
||||||
|
|
||||||
proton-ge-latest = pkgs.callPackage ./proton-ge-latest {};
|
proton-ge-latest = pkgs.callPackage ./proton-ge-latest {};
|
||||||
|
|
||||||
protonhax = pkgs.callPackage ./protonhax {
|
protonhax = pkgs.callPackage ./protonhax {};
|
||||||
inherit (inputs) protonhax-src;
|
|
||||||
inherit mkVersion;
|
|
||||||
};
|
|
||||||
|
|
||||||
repl = pkgs.callPackage ./repl {};
|
repl = pkgs.callPackage ./repl {};
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,32 @@
|
||||||
{
|
{
|
||||||
# nix build inputs
|
# nix build inputs
|
||||||
lib,
|
lib,
|
||||||
mkVersion,
|
|
||||||
stdenv,
|
stdenv,
|
||||||
protonhax-src,
|
fetchFromGitHub,
|
||||||
...
|
...
|
||||||
}:
|
}: let
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "protonhax";
|
pname = "protonhax";
|
||||||
version = mkVersion protonhax-src;
|
version = "1.0.5";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit pname version;
|
||||||
|
|
||||||
src = protonhax-src;
|
src = fetchFromGitHub {
|
||||||
|
owner = "jcnils";
|
||||||
|
repo = "protonhax";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-5G4MCWuaF/adSc9kpW/4oDWFFRpviTKMXYAuT2sFf9w=";
|
||||||
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dt $out/bin -m755 protonhax
|
install -Dt $out/bin -m755 protonhax
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
license = with lib.licenses; [bsd3];
|
|
||||||
homepage = "https://github.com/jcnils/protonhax";
|
|
||||||
description = ''
|
|
||||||
Tool to help running other programs (i.e. Cheat Engine) inside Steam's proton.
|
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
}
|
meta = {
|
||||||
|
license = with lib.licenses; [bsd3];
|
||||||
|
homepage = "https://github.com/jcnils/protonhax";
|
||||||
|
description = ''
|
||||||
|
Tool to help running other programs (i.e. Cheat Engine) inside Steam's proton.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue