nixpkgs/pkgs/by-name/ga/game-rs/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
779 B
Nix
Raw Normal View History

2023-08-29 10:38:55 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, steam-run
}:
rustPlatform.buildRustPackage rec {
pname = "game-rs";
2024-02-11 18:25:39 +00:00
version = "0.2.0";
2023-08-29 10:38:55 +00:00
src = fetchFromGitHub {
owner = "amanse";
repo = "game-rs";
rev = "v${version}";
2024-02-11 18:25:39 +00:00
hash = "sha256-FuZl2yNre5jNSfHqF3tjiGwg5mRKbYer2FOPpLy0OrA=";
2023-08-29 10:38:55 +00:00
};
2024-02-11 18:25:39 +00:00
cargoHash = "sha256-fNC8Aff09nTSbtxZg5qEKtvFyKFLRVjaokWiZihZCgM=";
2023-08-29 10:38:55 +00:00
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;
};
}