Avoid top-level `with ...;` in pkgs/games/lugaru/default.nix

This commit is contained in:
Philip Taron 2024-03-14 11:42:12 -07:00 committed by Valentin Gagarin
parent 3faad46374
commit 72f827ec28
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,13 @@
{ lib, stdenv, fetchFromGitLab, cmake, openal, pkg-config, libogg,
libvorbis, SDL2, makeWrapper, libpng, libjpeg_turbo, libGLU }:
with lib;
let
inherit (lib)
licenses
maintainers
platforms
;
in
stdenv.mkDerivation rec {
@ -27,6 +33,6 @@ stdenv.mkDerivation rec {
homepage = "https://osslugaru.gitlab.io";
maintainers = [ ];
platforms = platforms.linux;
license = lib.licenses.gpl2Plus;
license = licenses.gpl2Plus;
};
}