perlPackages: add meta.mainProgram to pacakges with single executable

where the executable's name differs from the packages `name` or `pname`
main
Malo Bourgon 2 years ago
parent 6d67cd7133
commit ba40bab6e5
  1. 3
      pkgs/development/perl-modules/WWW-YoutubeViewer/default.nix
  2. 1
      pkgs/development/perl-modules/ham/default.nix
  3. 274
      pkgs/top-level/perl-packages.nix

@ -25,7 +25,8 @@ buildPerlPackage rec {
meta = with lib; {
description = "A lightweight application for searching and streaming videos from YouTube";
homepage = "https://github.com/trizen/youtube-viewer";
maintainers = with maintainers; [ woffs ];
license = with licenses; [ artistic2 ];
maintainers = with maintainers; [ woffs ];
mainProgram = "youtube-viewer";
};
}

@ -37,6 +37,7 @@ buildPerlPackage {
homepage = "https://github.com/kernkonzept/ham";
license = "unknown"; # should be gpl2, but not quite sure
maintainers = with lib.maintainers; [ aw ];
mainProgram = "ham";
platforms = lib.platforms.unix;
};
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save