nixpkgs/pkgs/applications/kde/build-support/application.nix

21 lines
367 B
Nix
Raw Normal View History

{ 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;
2017-05-19 03:08:10 +02:00
outputs = args.outputs or [ "out" "dev" ];
meta = {
platforms = lib.platforms.linux;
homepage = http://www.kde.org;
} // (args.meta or {});
})