1 { pkgs ? import <nixpkgs> { }, lint ? false }:
2 pkgs.python3Packages.callPackage ({ autopep8, buildPythonPackage
3 , gobject-introspection, gtk4, lib, makeDesktopItem, mypy, pylint, pygobject3
5 buildPythonPackage rec {
9 src = lib.cleanSource ./.;
12 checkPhase = "./test.sh";
14 nativeBuildInputs = [ gobject-introspection wrapGAppsHook4 ];
15 nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ];
16 buildInputs = [ gtk4 ];
17 pythonPath = [ pygobject3 ];
20 cp -r $desktopItem/share $out
23 desktopItem = makeDesktopItem {
27 comment = "Configure nix-env Apps";
29 genericName = "Configure Apps";
30 categories = [ "Settings" ];
35 "A simple GUI for managing declarative nix-env user environments";
36 homepage = "https://git.scottworley.com/nix-env-apps";
37 license = pkgs.lib.licenses.gpl3;
38 maintainers = with pkgs.lib.maintainers; [ chkno ];