2021-01-15 10:19:50 +01:00
|
|
|
{ fetchurl, lib, stdenv, makeWrapper, perl, perlPackages }:
|
2016-03-04 13:26:07 +01:00
|
|
|
|
|
|
|
|
2017-03-01 20:45:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "amtterm";
|
2017-03-01 20:45:13 +01:00
|
|
|
version = "1.6-1";
|
2017-09-28 17:20:48 +02:00
|
|
|
|
2016-03-04 13:26:07 +01:00
|
|
|
buildInputs = with perlPackages; [ perl SOAPLite ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.kraxel.org/cgit/amtterm/snapshot/${pname}-${version}.tar.gz";
|
2017-03-01 20:45:13 +01:00
|
|
|
sha256 = "1jxcsqkag2bxmrnr4m6g88sln1j2d9liqlna57fj8kkc85316vlc";
|
2016-03-04 13:26:07 +01:00
|
|
|
};
|
|
|
|
|
2017-09-28 17:20:48 +02:00
|
|
|
makeFlags = [ "prefix=$(out)" "STRIP=" ];
|
2016-03-04 13:26:07 +01:00
|
|
|
|
|
|
|
postInstall =
|
|
|
|
"wrapProgram $out/bin/amttool --prefix PERL5LIB : $PERL5LIB";
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
meta = with lib;
|
2016-03-04 13:26:07 +01:00
|
|
|
{ description = "Intel AMT® SoL client + tools";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.kraxel.org/cgit/amtterm/";
|
2016-03-04 13:26:07 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|