It requires a bit of a special solution, because you need to compute the band energies at a particular k-point which isn't one of the lattice symmetry points.
I have a script for that, a class rather, which is attached as BandstructureK.py. If you download that, and if we assume you have in a NC file a converged calculation for graphene as object ID gID000, then we can do
conf = nlread("graphene.nc", object_id="gID000")[0]
from BandstructureK import Bandstructure
# This is just to check that we have a nice degeneracy at the K point
t = Bandstructure(conf,kpoints=numpy.array([[1./3,1./3,0]]))
vbmax_ix = numpy.where(t.evaluate()[0]<=0.*eV)[0][-1]
cbmin_ix = numpy.where(t.evaluate()[0]>=0.*eV)[0][0]
bandgap = t.evaluate()[0][cbmin_ix]-t.evaluate()[0][vbmax_ix]
nlprint("Gap at K: %s" % bandgap)
# Now compute the energies at K-eps
# We may need to tune eps, it should be small but not too small
eps = 1e-4
t2 = Bandstructure(conf,kpoints=numpy.array([[1./3-eps,1./3-eps,0]]))
E = t2.evaluate()[0][cbmin_ix]
nlprint("Energy at K-eps: %s" % E)
nlprint("eps: %s" % eps)
Since E(k=K)=0, you get dE/dk=E/eps - now you just have to figure out in which unit ;)