Merge pull request #12884 from elitak/sunxi-tools_packages

sunxi-tools: (new)
This commit is contained in:
Arseniy Seroka 2016-02-11 16:52:50 +03:00
commit 6a44d3fb9d
3 changed files with 33 additions and 1 deletions

View File

@ -94,10 +94,11 @@
eduarrrd = "Eduard Bachmakov <e.bachmakov@gmail.com>";
edwtjo = "Edward Tjörnhammar <ed@cflags.cc>";
eelco = "Eelco Dolstra <eelco.dolstra@logicblox.com>";
ehmry = "Emery Hemingway <emery@vfemail.net>";
eikek = "Eike Kettner <eike.kettner@posteo.de>";
elasticdog = "Aaron Bull Schaefer <aaron@elasticdog.com>";
elitak = "Eric Litak <elitak@gmail.com>";
ellis = "Ellis Whitehead <nixos@ellisw.net>";
ehmry = "Emery Hemingway <emery@vfemail.net>";
epitrochoid = "Mabry Cervin <mpcervin@uncg.edu>";
ericbmerritt = "Eric Merritt <eric@afiniate.com>";
ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";

View File

@ -0,0 +1,29 @@
{ stdenv, fetchgit, pkgconfig, libusb }:
stdenv.mkDerivation {
name = "sunxi-tools-1.3";
src = fetchgit {
url = "https://github.com/linux-sunxi/sunxi-tools";
rev = "be1b4c7400161b90437432076360c1f99970f54f";
sha256 = "0qbl4v66a3mvqai29q2y60zf2b5lj32mh9gyn44gfp0w2bsb10yj";
};
buildInputs = [ pkgconfig libusb ];
buildPhase = ''
make all misc
'';
installPhase = ''
mkdir -p $out/bin
cp bin2fex fex2bin phoenix_info sunxi-bootinfo sunxi-fel sunxi-fexc sunxi-nand-part sunxi-pio $out/bin
'';
meta = with stdenv.lib; {
description = "Tools for Allwinner A10 devices";
homepage = http://linux-sunxi.org/;
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ elitak ];
};
}

View File

@ -3207,6 +3207,8 @@ let
sundtek = callPackage ../misc/drivers/sundtek { };
sunxi-tools = callPackage ../development/tools/sunxi-tools { };
super = callPackage ../tools/security/super { };
supertux-editor = callPackage ../applications/editors/supertux-editor { };