sunxi-tools: master20151216 -> master20171130
This commit is contained in:
parent
59edce6414
commit
261bc1dc3a
@ -1,25 +1,25 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, libusb }:
|
{ stdenv, fetchFromGitHub, pkgconfig, libusb, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sunxi-tools-1.3";
|
name = "sunxi-tools-20171130";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linux-sunxi";
|
owner = "linux-sunxi";
|
||||||
repo = "sunxi-tools";
|
repo = "sunxi-tools";
|
||||||
rev = "be1b4c7400161b90437432076360c1f99970f54f";
|
rev = "5c1971040c6c44caefb98e371bfca9e18d511da9";
|
||||||
sha256 = "02pqaaahra4wbv325264qh5i17mxwicmjx9nm33nw2dpmfmg9xhr";
|
sha256 = "0qzm515i3dfn82a6sf7372080zb02d365z52bh0b1q711r4dvjgp";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb zlib ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make all misc
|
make tools misc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp bin2fex fex2bin phoenix_info sunxi-bootinfo sunxi-fel sunxi-fexc sunxi-nand-part sunxi-pio $out/bin
|
cp bin2fex fex2bin phoenix_info sunxi-bootinfo sunxi-fel sunxi-fexc sunxi-nand-image-builder sunxi-nand-part sunxi-pio $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user