mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
fsuae-launcher: prepare for by-name migration
- get rid of libsForQt5.callPackage - set strictDeps - meta.mainProgram - meta.platforms uses lib.systems machinery
This commit is contained in:
parent
f3db387b97
commit
91856c93b3
@ -1,10 +1,10 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, gettext
|
||||
, python3
|
||||
, wrapQtAppsHook
|
||||
, fsuae
|
||||
, gettext
|
||||
, python3Packages
|
||||
, stdenv
|
||||
, libsForQt5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -18,16 +18,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
python3
|
||||
wrapQtAppsHook
|
||||
python3Packages.python
|
||||
libsForQt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = with python3.pkgs; [
|
||||
buildInputs = with python3Packages; [
|
||||
pyqt5
|
||||
requests
|
||||
setuptools
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
@ -47,8 +49,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://fs-uae.net";
|
||||
description = "Graphical front-end for the FS-UAE emulator";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "fs-uae-launcher";
|
||||
maintainers = with lib.maintainers; [ sander AndersonTorres ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
platforms = with lib.systems.inspect;
|
||||
patternLogicalAnd patterns.isx86 patterns.isLinux;
|
||||
};
|
||||
})
|
||||
|
||||
|
@ -2689,7 +2689,7 @@ with pkgs;
|
||||
|
||||
fsuae = callPackage ../applications/emulators/fs-uae { };
|
||||
|
||||
fsuae-launcher = libsForQt5.callPackage ../applications/emulators/fs-uae/launcher.nix { };
|
||||
fsuae-launcher = callPackage ../applications/emulators/fs-uae/launcher.nix { };
|
||||
|
||||
fuc = callPackage ../tools/misc/fuc { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user