mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
rmg: Fix licensing
- Fix meta.license - Offer an extra, default-false option to build with license-compromising plugin - Taint meta.license to unfree when used
This commit is contained in:
parent
18d5f603d2
commit
0ac780fa94
1 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,8 @@
|
|||
, which
|
||||
, xdg-user-dirs
|
||||
, zlib
|
||||
# Affects final license
|
||||
, withAngrylionRdpPlus ? false
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -77,6 +79,7 @@ stdenv.mkDerivation rec {
|
|||
# mupen64plus-input-gca is written in Rust, so we can't build it with
|
||||
# everything else.
|
||||
"-DNO_RUST=ON"
|
||||
"-DUSE_ANGRYLION=${lib.boolToString withAngrylionRdpPlus}"
|
||||
];
|
||||
|
||||
qtWrapperArgs = lib.optionals stdenv.isLinux [
|
||||
|
@ -90,7 +93,7 @@ stdenv.mkDerivation rec {
|
|||
Rosalie's Mupen GUI is a free and open-source mupen64plus front-end
|
||||
written in C++. It offers a simple-to-use user interface.
|
||||
'';
|
||||
license = licenses.gpl3;
|
||||
license = if withAngrylionRdpPlus then licenses.unfree else licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "RMG";
|
||||
maintainers = with maintainers; [ slam-bert ];
|
||||
|
|
Loading…
Reference in a new issue