diff options
author | Emery <emery@v36.space> | 2016-03-04 13:26:07 +0100 |
---|---|---|
committer | Emery <emery@v36.space> | 2016-03-04 14:47:47 +0100 |
commit | d07d94b97c953228b41d3f3edf54be03d7dc48a3 (patch) | |
tree | 3bb21c5c5b7c45610fb8d36270e3212baf4a5c71 /pkgs/tools/system/amtterm/default.nix | |
parent | 2bf56296180ca6ce08dc9b77742f11af6b20699e (diff) |
amtterm: initial package at 1.4
https://www.kraxel.org/cgit/amtterm/
Diffstat (limited to 'pkgs/tools/system/amtterm/default.nix')
-rw-r--r-- | pkgs/tools/system/amtterm/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/system/amtterm/default.nix b/pkgs/tools/system/amtterm/default.nix new file mode 100644 index 0000000000000..3fe85be35f713 --- /dev/null +++ b/pkgs/tools/system/amtterm/default.nix @@ -0,0 +1,27 @@ +{ fetchurl, stdenv, makeWrapper, perl, perlPackages }: + +let version = "1.4"; in +stdenv.mkDerivation { + name = "amtterm-"+version; + + buildInputs = with perlPackages; [ perl SOAPLite ]; + nativeBuildInputs = [ makeWrapper ]; + + src = fetchurl { + url = "https://www.kraxel.org/cgit/amtterm/snapshot/amtterm-a75e48e010e92dc5540e2142efc445ccb0ab1a42.tar.gz"; + sha256 = "0i4ny5dyf3fy3sd65zw9v4xxw3rc3qyn8r8y8gwwgankj6iqkqp4"; + }; + + makeFlags = [ "prefix=$(out)" ]; + + postInstall = + "wrapProgram $out/bin/amttool --prefix PERL5LIB : $PERL5LIB"; + + meta = with stdenv.lib; + { description = "Intel AMTĀ® SoL client + tools"; + homepage = "https://www.kraxel.org/cgit/amtterm/"; + license = licenses.gpl2; + maintainers = [ maintainers.ehmry ]; + platforms = platforms.linux; + }; +} |