kdeApplications: split drv name into pname and version attributes

This change aims to make it easier to access the package name and
version individually when writing overlays for KDE derivations.
This commit is contained in:
peelz 2020-12-14 13:48:17 -05:00
parent ce7773fcf7
commit d074587a8d

View file

@ -42,8 +42,8 @@ let
libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
in
mkDerivation (args // {
name = "${name}-${version}";
inherit src;
pname = name;
inherit src version;
outputs = args.outputs or [ "out" ];