nwg-hello: 0.2.2 -> 0.2.4 (#344620)

This commit is contained in:
OTABI Tomoya 2024-10-07 11:09:52 +09:00 committed by GitHub
commit 32d0bd7fac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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" ];