diff --git a/projects/nix-ecutuner/99-j2534.rules b/projects/nix-ecu-tuning/99-j2534.rules similarity index 100% rename from projects/nix-ecutuner/99-j2534.rules rename to projects/nix-ecu-tuning/99-j2534.rules diff --git a/projects/nix-ecutuner/README.md b/projects/nix-ecu-tuning/README.md similarity index 100% rename from projects/nix-ecutuner/README.md rename to projects/nix-ecu-tuning/README.md diff --git a/projects/nix-ecutuner/flake.lock b/projects/nix-ecu-tuning/flake.lock similarity index 100% rename from projects/nix-ecutuner/flake.lock rename to projects/nix-ecu-tuning/flake.lock diff --git a/projects/nix-ecutuner/flake.nix b/projects/nix-ecu-tuning/flake.nix similarity index 73% rename from projects/nix-ecutuner/flake.nix rename to projects/nix-ecu-tuning/flake.nix index 63e9c24e..5bfe7470 100644 --- a/projects/nix-ecutuner/flake.nix +++ b/projects/nix-ecu-tuning/flake.nix @@ -16,11 +16,15 @@ inherit fetchFromGitHub; inherit stdenv; }; + romraider = callPackage ./romraider.nix { + inherit fetchFromGitHub; + inherit stdenv; + }; }; - apps.x86_64-linux.ecuflash = { + apps.x86_64-linux.romraider = { type = "app"; - program = "${self.packages.x86_64-linux.ecuflash}/bin/ecuflash"; + program = "${self.packages.x86_64-linux.romraider}/bin/romraider"; }; apps.x86_64-linux.default = self.apps.x86_64-linux.ecuflash; diff --git a/projects/nix-ecutuner/j2534.nix b/projects/nix-ecu-tuning/j2534.nix similarity index 100% rename from projects/nix-ecutuner/j2534.nix rename to projects/nix-ecu-tuning/j2534.nix diff --git a/projects/nix-ecu-tuning/romraider.nix b/projects/nix-ecu-tuning/romraider.nix new file mode 100644 index 00000000..7be2d4ce --- /dev/null +++ b/projects/nix-ecu-tuning/romraider.nix @@ -0,0 +1,14 @@ +{ stdenv, fetchFromGitHub }: +stdenv.mkDerivation rec { + pname = "romraider"; + version = "1.0.0"; + src = fetchFromGitHub { + owner = "RomRaider"; + repo = "RomRaider"; + rev = "bd77db3f1b32b359a6aaebb789001e71c43e9e02"; + sha256 = "sha256-ZN1L1pZJ2tvmxf5Imd5tAZWI2044bY8X6WoK2fBa2Yw="; + }; + buildInputs = [ ]; + buildPhase = ''''; + installPhase = ''''; +} \ No newline at end of file