about summary refs log tree commit diff
path: root/pkgs/by-name/ga
diff options
context:
space:
mode:
authorAman Setia <amansetiarjp@gmail.com>2023-08-29 10:38:55 +0000
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-29 14:17:53 +0200
commitb2005fdc8d2269515f68b3a99c728dedac4f62d7 (patch)
tree7527cc308d501d06c5d2df023a83862e8e632c3a /pkgs/by-name/ga
parente42b5b74e2e09746d05062718c10601cffb5114e (diff)
game-rs: init at 0.1.3
Diffstat (limited to 'pkgs/by-name/ga')
-rw-r--r--pkgs/by-name/ga/game-rs/package.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/ga/game-rs/package.nix b/pkgs/by-name/ga/game-rs/package.nix
new file mode 100644
index 0000000000000..127e06f7129ef
--- /dev/null
+++ b/pkgs/by-name/ga/game-rs/package.nix
@@ -0,0 +1,32 @@
+{ 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;
+  };
+}