{ stdenv, perl, fetchurl }:

stdenv.mkDerivation {
  name = "ioport-1.2";
  src = fetchurl {
    url = "http://people.redhat.com/rjones/ioport/files/ioport-1.2.tar.gz";
    sha256 = "1h4d5g78y7kla0zl25jgyrk43wy3m3bygqg0blki357bc55irb3z";
  };
  buildInputs = [ perl ];
  meta = with stdenv.lib; {
    description = "Direct access to I/O ports from the command line";
    homepage = http://people.redhat.com/rjones/ioport/;
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = [ maintainers.cleverca22 ];
  };
}
