nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 31 lines 757 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 umu-launcher, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "game-rs"; 10 version = "5"; 11 12 src = fetchFromGitHub { 13 owner = "amanse"; 14 repo = "game-rs"; 15 rev = "z${version}"; 16 hash = "sha256-+LQxU4jWBAOk+qHNvGxYXudX5dG6szQt3PiPI41Zxlo="; 17 }; 18 19 cargoHash = "sha256-X9dWIeDKy3qLmFwUevN8ZUcwNVtt7Wnecbg7M6zUXFU="; 20 21 propagatedBuildInputs = [ umu-launcher ]; 22 23 meta = { 24 description = "Minimal CLI game launcher for linux"; 25 homepage = "https://github.com/amanse/game-rs"; 26 changelog = "https://github.com/Amanse/game-rs/releases/tag/v${version}"; 27 license = with lib.licenses; [ mit ]; 28 maintainers = with lib.maintainers; [ amanse ]; 29 platforms = lib.platforms.linux; 30 }; 31}