{ pkgs ? import { }, lint ? false }: pkgs.python3Packages.callPackage ({ autopep8, buildPythonPackage , gobject-introspection, gtk4, lib, mypy, pylint, pygobject3, wrapGAppsHook4, }: buildPythonPackage rec { pname = "apps"; version = "1.0"; src = lib.cleanSource ./.; doCheck = true; checkPhase = "./test.sh"; nativeBuildInputs = [ gobject-introspection wrapGAppsHook4 ]; nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ]; buildInputs = [ gtk4 ]; pythonPath = [ pygobject3 ]; meta = { description = "A simple GUI for managing declarative nix-env user environments"; homepage = "https://git.scottworley.com/nix-env-apps"; license = pkgs.lib.licenses.gpl3; maintainers = with pkgs.lib.maintainers; [ chkno ]; }; }) { }