nixpkgs/pkgs/by-name/ga/game-rs/package.nix
2024-02-11 23:55:39 +05:30

33 lines
779 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, steam-run
}:
rustPlatform.buildRustPackage rec {
pname = "game-rs";
version = "0.2.0";
src = fetchFromGitHub {
owner = "amanse";
repo = "game-rs";
rev = "v${version}";
hash = "sha256-FuZl2yNre5jNSfHqF3tjiGwg5mRKbYer2FOPpLy0OrA=";
};
cargoHash = "sha256-fNC8Aff09nTSbtxZg5qEKtvFyKFLRVjaokWiZihZCgM=";
buildFeatures = [ "nixos" ];
propagatedBuildInputs = [ steam-run ];
meta = with lib; {
description = "Minimal CLI game launcher for linux";
homepage = "https://github.com/amanse/game-rs";
changelog = "https://github.com/Amanse/game-rs/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ amanse ];
platforms = platforms.linux;
};
}