mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
33 lines
779 B
Nix
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;
|
|
};
|
|
}
|