2016-03-04 12:26:07 +00:00
|
|
|
{ fetchurl, stdenv, makeWrapper, perl, perlPackages }:
|
|
|
|
|
|
|
|
|
2017-03-01 19:45:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "amtterm-${version}";
|
|
|
|
version = "1.6-1";
|
|
|
|
|
2016-03-04 12:26:07 +00:00
|
|
|
buildInputs = with perlPackages; [ perl SOAPLite ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-03-01 19:45:13 +00:00
|
|
|
url = "https://www.kraxel.org/cgit/amtterm/snapshot/${name}.tar.gz";
|
|
|
|
sha256 = "1jxcsqkag2bxmrnr4m6g88sln1j2d9liqlna57fj8kkc85316vlc";
|
2016-03-04 12:26:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
postInstall =
|
|
|
|
"wrapProgram $out/bin/amttool --prefix PERL5LIB : $PERL5LIB";
|
|
|
|
|
|
|
|
meta = with stdenv.lib;
|
|
|
|
{ description = "Intel AMT® SoL client + tools";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://www.kraxel.org/cgit/amtterm/;
|
2016-03-04 12:26:07 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|