1{ fetchurl, lib, stdenv }:
2
3stdenv.mkDerivation ({
4 version = "3.8";
5 pname = "tet";
6
7 src = fetchurl {
8 url = "http://tetworks.opengroup.org/downloads/38/software/Sources/3.8/tet3.8-src.tar.gz";
9 sha256 = "1j57hv56df38w249l595b8rsgmsyvjkbysai03a9724gax5jl9av" ;
10 };
11
12 buildInputs = [ ];
13
14 patchPhase = "chmod +x configure";
15
16 configurePhase = "./configure -t lite";
17
18 buildPhase = "cd src; make; cd -";
19
20 installPhase = "cd src; make install; cd -; cp -vr $PWD $out";
21
22 meta = {
23 description = "The Test Environment Toolkit is used in test applications like The Open Group's UNIX Certification program and the Free Standards Group's LSB Certification program";
24 homepage = "http://tetworks.opengroup.org/Products/tet.htm";
25 license = lib.licenses.artistic1;
26 platforms = lib.platforms.unix;
27 maintainers = [ ];
28 };
29})