Personal-use NixOS configuration
1{
2 pkgs,
3 lib,
4 fetchFromGitHub,
5 rustPlatform,
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "iso2god-rs";
10 version = "1.8.1";
11
12 src = fetchFromGitHub {
13 owner = "iliazeus";
14 repo = "iso2god-rs";
15 tag = "v${version}";
16 hash = "sha256-Rp3ob6Ff41FiYYaDcxDYzo8/0q3Q65FWfAw7tTCWEKc=";
17 };
18
19 cargoHash = "sha256-1q2ruR2FFtIjBBR4E9Z/icbeVaec2QzWWXbHouJ2+do=";
20
21 nativeBuildInputs = with pkgs; [
22 pkg-config
23 ];
24
25 buildInputs = with pkgs; [
26 openssl
27 ];
28
29 meta = {
30 description = "Command-line tool to convert Xbox 360 and original Xbox ISOs into an Xbox 360 compatible Games-On-Demand file format";
31 homepage = "https://github.com/iliazeus/iso2god-rs";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ encode42 ];
34 mainProgram = "iso2god";
35 };
36}