nixpkgs-suyu/pkgs/development/tools/sunxi-tools/default.nix

30 lines
760 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, libusb, zlib }:
2016-02-09 01:00:05 +01:00
stdenv.mkDerivation {
name = "sunxi-tools-20171130";
2016-02-09 01:00:05 +01:00
src = fetchFromGitHub {
owner = "linux-sunxi";
repo = "sunxi-tools";
rev = "5c1971040c6c44caefb98e371bfca9e18d511da9";
sha256 = "0qzm515i3dfn82a6sf7372080zb02d365z52bh0b1q711r4dvjgp";
2016-02-09 01:00:05 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb zlib ];
2016-02-09 01:00:05 +01:00
2018-05-13 02:53:26 +02:00
makeFlags = [ "PREFIX=$(out)" ];
2016-02-09 01:00:05 +01:00
2018-05-13 02:53:26 +02:00
buildFlags = [ "tools" "misc" ];
installTargets = [ "install-tools" "install-misc" ];
2016-02-09 01:00:05 +01:00
meta = with stdenv.lib; {
description = "Tools for Allwinner A10 devices";
homepage = http://linux-sunxi.org/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
2016-02-09 01:00:05 +01:00
maintainers = with maintainers; [ elitak ];
};
}