f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
21 lines
367 B
Nix
21 lines
367 B
Nix
{ mkDerivation, lib, srcs }:
|
|
|
|
args:
|
|
|
|
let
|
|
inherit (args) name;
|
|
sname = args.sname or name;
|
|
inherit (srcs."${sname}") src version;
|
|
in
|
|
mkDerivation (args // {
|
|
name = "${name}-${version}";
|
|
inherit src;
|
|
|
|
outputs = args.outputs or [ "out" "dev" ];
|
|
|
|
meta = {
|
|
platforms = lib.platforms.linux;
|
|
homepage = http://www.kde.org;
|
|
} // (args.meta or {});
|
|
})
|