2021-01-15 22:18:51 +00:00
|
|
|
{ fetchurl, lib, stdenv, makeWrapper, perl, perlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "amtterm";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.7-1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = with perlPackages; [ perl SOAPLite ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2023-10-09 19:29:22 +00:00
|
|
|
url = "https://www.kraxel.org/cgit/amtterm/snapshot/amtterm-${finalAttrs.version}.tar.gz";
|
|
|
|
sha256 = "sha256-WrYWAXLW74hb/DfSiPyiFIGAUfDQFdNEPx+XevZYcyk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" "STRIP=" ];
|
|
|
|
|
|
|
|
postInstall =
|
|
|
|
"wrapProgram $out/bin/amttool --prefix PERL5LIB : $PERL5LIB";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
{ description = "Intel AMT® SoL client + tools";
|
|
|
|
homepage = "https://www.kraxel.org/cgit/amtterm/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|