arm-frc-linux-gnueabi-linux-api-headers: init at 3.19-r0.36

This commit is contained in:
Cole Scott 2017-04-08 02:10:54 +02:00 committed by Jörg Thalheim
parent 98a287e733
commit 9597247cc0
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{stdenv, fetchurl}:
let
_target = "arm-frc-linux-gnueabi";
_basever = "3.19-r0.36";
src = fetchurl {
url = "http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3/linux-libc-headers-dev_${_basever}_cortexa9-vfpv3.ipk";
sha256 = "10066ddb9a19bf764a9a67919a7976478041e98c44c19308f076c78ecb07408c";
};
in
stdenv.mkDerivation rec {
version = "3.19";
name = "${_target}-linux-api-headers-${version}";
sourceRoot = ".";
inherit src;
phases = [ "unpackPhase" "installPhase" ];
unpackCmd = ''
ar x $curSrc
tar xf data.tar.gz
'';
installPhase = ''
mkdir -p $out/${_target}
find . \( -name .install -o -name ..install.cmd \) -delete
cp -r usr/ $out/${_target}
'';
meta = {
description = "FRC linux api headers";
longDescription = ''
All linux api headers required to compile the arm-frc-linux-gnuaebi-gcc
cross compiler and all user programs.
'';
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.colescott ];
platforms = stdenv.lib.platforms.linux;
priority = 1;
};
}

View File

@ -444,6 +444,8 @@ with pkgs;
argyllcms = callPackage ../tools/graphics/argyllcms {};
arm-frc-linux-gnueabi-linux-api-headers = callPackage ../development/libraries/arm-frc-linux-gnueabi-linux-api-headers {};
arp-scan = callPackage ../tools/misc/arp-scan { };
artyFX = callPackage ../applications/audio/artyFX {};