mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
nwg-hello: 0.2.2 -> 0.2.4 (#344620)
This commit is contained in:
commit
32d0bd7fac
@ -9,13 +9,14 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "nwg-hello";
|
pname = "nwg-hello";
|
||||||
version = "0.2.2";
|
version = "0.2.4";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nwg-piotr";
|
owner = "nwg-piotr";
|
||||||
repo = "nwg-hello";
|
repo = "nwg-hello";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-czvKUuSAGEqtjIcIW9mm/LlUsvkGknHbwuXJw5YGT5A=";
|
hash = "sha256-WE6jtVZfsWJREZghU93v8EAq16MiERYnq3Y0g2caYPs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -28,7 +29,9 @@ python3Packages.buildPythonApplication rec {
|
|||||||
gtk-layer-shell
|
gtk-layer-shell
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
python3Packages.pygobject3
|
python3Packages.pygobject3
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -52,6 +55,12 @@ python3Packages.buildPythonApplication rec {
|
|||||||
install -D -m 644 -t "$out/share/nwg-hello/" img/*
|
install -D -m 644 -t "$out/share/nwg-hello/" img/*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||||
|
'';
|
||||||
|
|
||||||
# Upstream has no tests
|
# Upstream has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "nwg_hello" ];
|
pythonImportsCheck = [ "nwg_hello" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user