1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/tools/system/amtterm/default.nix

29 lines
780 B
Nix
Raw Normal View History

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