mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
star64: init
Mostly based on the visionfive 2 config. No GPU yet.
This commit is contained in:
18
pine64/star64/spl-tool.nix
Normal file
18
pine64/star64/spl-tool.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec{
|
||||
pname = "spi_tool";
|
||||
version = "unstable-2023-04-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "starfive-tech";
|
||||
repo = "Tools";
|
||||
rev = "693661d4ba314424f76c06da1bbb799e9b534c9f";
|
||||
hash = "sha256-POWwpIIPnquJs/bpC3Pn94skua3SZvyfICPBglO7HnU=";
|
||||
sparseCheckout = [ "spl_tool" ];
|
||||
};
|
||||
sourceRoot = "source/spl_tool";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp spl_tool $out/bin
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user