You can use an MMBTH10 transistor, common emitter configuration, with your source signal fed to the base via a series input cap and a weak pull up resistor right on the base to VCC. On the collector, you will also have a pull-up to digital VCC and optional small cap in the pf range in parallel to GND. This simple switch amp will extract the peaks of your source, creating a digital IO so long as the source signal is 200mv or stronger.
You will need to tune the input cap and pull-up resistor to tune the circuit's peak selectivity. The pullup resistor here will be around 100k and you may also want a smaller value pull-down resistor as well. Note that with this circuit, with no input, the output will always say that there is a continuous pulse unless you tune this pull-down resistor to keep the transistor off by default, but you loose some sensitivity. A stronger source signal above 200mv would mean no problem here.
The output pull-up resistor should be around 2k to 10k depending on how wide/fat you want the output captured pulse to be.
This amp is and active low output. When there is a peak, the output will be low.
2SC5066-O,LF may be better than MMBTH10 for detecting pulses at 1ns or less as it is a 7GHz transistor, but still in the 25cent price range.
Very strong pulses will be detected immediately, as the signal rises past the previous peak. Detecting exclusively after the peak has been reached, especially sub ns sized pulse is out of the range of such a simple circuit. Even danadak's posted suggestions is similar to my 1 transistor solution and wont wait until after the peak has been reached to be assured that the source has switched direction and the true peak for that pulse has been reached.
You'll need a good scope to work on this circuit. Also, you'll need J-fet amplified low capacitance probes, or, you'll need extra transistors to buffer the signal typically in an emitter-follower configuration.