diff --git a/pkgs/by-name/nw/nwg-hello/package.nix b/pkgs/by-name/nw/nwg-hello/package.nix index ba333024e414..9a409f8da5e7 100644 --- a/pkgs/by-name/nw/nwg-hello/package.nix +++ b/pkgs/by-name/nw/nwg-hello/package.nix @@ -9,13 +9,14 @@ python3Packages.buildPythonApplication rec { pname = "nwg-hello"; - version = "0.2.2"; + version = "0.2.4"; + pyproject = true; src = fetchFromGitHub { owner = "nwg-piotr"; repo = "nwg-hello"; rev = "refs/tags/v${version}"; - hash = "sha256-czvKUuSAGEqtjIcIW9mm/LlUsvkGknHbwuXJw5YGT5A="; + hash = "sha256-WE6jtVZfsWJREZghU93v8EAq16MiERYnq3Y0g2caYPs="; }; nativeBuildInputs = [ @@ -28,7 +29,9 @@ python3Packages.buildPythonApplication rec { gtk-layer-shell ]; - propagatedBuildInputs = [ + build-system = [ python3Packages.setuptools ]; + + dependencies = [ python3Packages.pygobject3 ]; @@ -52,6 +55,12 @@ python3Packages.buildPythonApplication rec { install -D -m 644 -t "$out/share/nwg-hello/" img/* ''; + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + # Upstream has no tests doCheck = false; pythonImportsCheck = [ "nwg_hello" ];