New approach for nix-ecu-tuning: Start by setting up RomRaider.
This commit is contained in:
parent
ba7a9102aa
commit
b5bf1e8166
@ -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;
|
14
projects/nix-ecu-tuning/romraider.nix
Normal file
14
projects/nix-ecu-tuning/romraider.nix
Normal 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 = '''';
|
||||
}
|
Loading…
Reference in New Issue
Block a user