Add self-packaged protonup-rs
This commit is contained in:
parent
8fad99d37f
commit
ae480c4541
3 changed files with 37 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
tldr # Nice & short manual snippets
|
tldr # Nice & short manual snippets
|
||||||
ntfy-sh # Push notifications to other devices
|
ntfy-sh # Push notifications to other devices
|
||||||
ipinfo # IP geolocation
|
ipinfo # IP geolocation
|
||||||
|
protonup-rs
|
||||||
|
|
||||||
mpv # Video player
|
mpv # Video player
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
# example = pkgs.callPackage ./example { };
|
# example = pkgs.callPackage ./example { };
|
||||||
alvr = pkgs.callPackage ./alvr {};
|
alvr = pkgs.callPackage ./alvr {};
|
||||||
feishin-appimage = pkgs.callPackage ./feishin {};
|
feishin-appimage = pkgs.callPackage ./feishin {};
|
||||||
|
protonup-rs = pkgs.callPackage ./protonup-rs {};
|
||||||
}
|
}
|
||||||
|
|
35
pkgs/protonup-rs/default.nix
Normal file
35
pkgs/protonup-rs/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
rustPlatform,
|
||||||
|
}:
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "protonup-rs";
|
||||||
|
version = "v0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "auyer";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-IE8QO9LaEllTYRRDA704SNWp4Ap2NQmoYMaKX4l9McY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoBuildFlags = "-p protonup-rs";
|
||||||
|
|
||||||
|
# tests somehow fail, but compiled result works
|
||||||
|
checkFlags = [
|
||||||
|
"--skip=github::tests::test_fetch_data_from_tag"
|
||||||
|
"--skip=github::tests::test_get_release"
|
||||||
|
"--skip=github::tests::test_list_releases"
|
||||||
|
];
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-/8JhMDwBP3INP9+YlkTc+SwGnZypcj7OJingiyw1pcU=";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Rust app to Install and Update GE-Proton for Steam, and Wine-GE for Lutris";
|
||||||
|
homepage = "https://github.com/auyer/Protonup-rs";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [GHOSCHT];
|
||||||
|
mainProgram = "protonup-rs";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue