stlink: fix package name

To stop nixpkgs-lint from saying "stlink: package has no version".
stlink: fix chroot build

Add sha256 attribute to fetchgit to make it a fixed-output derivation
(needed for chroot builds).