Unverified Commit 874b6543 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #218590 from Amanse/game-rs

game-rs: init at 0.1.3
parents aa063ec6 b2005fdc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -895,6 +895,12 @@
    githubId = 160476;
    name = "Amanjeev Sethi";
  };
  amanse = {
    email = "amansetiarjp@gmail.com";
    github = "amanse";
    githubId = 13214574;
    name = "Aman Setia";
  };
  amar1729 = {
    email = "amar.paul16@gmail.com";
    github = "Amar1729";
+32 −0
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, steam-run
}:

rustPlatform.buildRustPackage rec {
  pname = "game-rs";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "amanse";
    repo = "game-rs";
    rev = "v${version}";
    hash = "sha256-M9/hFItoCL8fSrc0dFNn43unqkIaD179OGUdbXL6/Rs=";
  };

  cargoHash = "sha256-aq58sFK4/Zd8S4dOWjag+g5PmTeaVAK3FS3fW/YlCLs=";

  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;
  };
}