In this talk, a new QCD analysis for nuclear parton distribution functions (nPDFs) at next-to-leading order (NLO) and next-to-next-to-leading order (NNLO) will be presented. The framework of the analysis, including the form of the parametrisation as well as the included DIS datasets, will be discussed. The results of this QCD analysis will be compared to the existing nPDF sets and to the fitted data. The presented framework is based on an open-source tool, xFitter, which has been modified to be applicable also for a nuclear PDF analysis. The required modifications will be covered as well. Finally, an outlook for the next developments of the QCD analysis for nuclear PDFs will be given.