Say I have a service I run that acts as a frontend for something like nmap. So there is pkgs/tools/security/nmap/default.nix that installs 7.70
How do I 'pin' that version? If I vendor that file into my configuration, that could work, but then the buildinputs are
buildInputs = with python2Packages; [ libpcap openssl ]
++ optionals ...
And the dependencies for libpcap and openssl are themselves not pinned to specific versions, so how exactly do I get a reproducible build?