Packaging kaffeine and other kde apps

How do I add a KDE package?
For example


Does not specify any src nor version attributes,and https://github.com/NixOS/nixpkgs/blob/f2ecbaa6cfe35bc1cebed8a9f3df513cdbc47836/pkgs/applications/kde/srcs.nix is autogenerated.