diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 49304e27f5bb..e78f03b1e278 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -94,10 +94,11 @@ eduarrrd = "Eduard Bachmakov "; edwtjo = "Edward Tjörnhammar "; eelco = "Eelco Dolstra "; + ehmry = "Emery Hemingway "; eikek = "Eike Kettner "; elasticdog = "Aaron Bull Schaefer "; + elitak = "Eric Litak "; ellis = "Ellis Whitehead "; - ehmry = "Emery Hemingway "; epitrochoid = "Mabry Cervin "; ericbmerritt = "Eric Merritt "; ericsagnes = "Eric Sagnes "; diff --git a/pkgs/development/tools/sunxi-tools/default.nix b/pkgs/development/tools/sunxi-tools/default.nix new file mode 100644 index 000000000000..f27b9500319e --- /dev/null +++ b/pkgs/development/tools/sunxi-tools/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dddbdedf5a2c..6e2dfdff37e2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };