New approach for nix-ecu-tuning: Start by setting up RomRaider.

This commit is contained in:
Joey Hafner 2024-11-02 18:10:00 -07:00
parent ba7a9102aa
commit b5bf1e8166
6 changed files with 20 additions and 2 deletions

View File

@ -16,11 +16,15 @@
inherit fetchFromGitHub; inherit fetchFromGitHub;
inherit stdenv; inherit stdenv;
}; };
romraider = callPackage ./romraider.nix {
inherit fetchFromGitHub;
inherit stdenv;
};
}; };
apps.x86_64-linux.ecuflash = { apps.x86_64-linux.romraider = {
type = "app"; 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; apps.x86_64-linux.default = self.apps.x86_64-linux.ecuflash;

View File

@ -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 = '''';
}