gscreenshot: migrate to pyproject; use hash; doCheck (#530658)

This commit is contained in:
Yohann Boniface
2026-06-14 12:20:36 +00:00
committed by GitHub
+5 -6
View File
@@ -20,22 +20,22 @@
python3Packages.buildPythonApplication (finalAttrs: {
pname = "gscreenshot";
version = "3.11.1";
format = "setuptools";
pyproject = true;
build-system = with python3Packages; [ setuptools ];
src = fetchFromGitHub {
owner = "thenaterhood";
repo = "gscreenshot";
tag = "v${finalAttrs.version}";
sha256 = "sha256-24eo4ihWM/sJXj7Dp3hSp0FEP1uYzvCON2emuMiONSc=";
hash = "sha256-24eo4ihWM/sJXj7Dp3hSp0FEP1uYzvCON2emuMiONSc=";
};
# needed for wrapGAppsHook3 to function
strictDeps = false;
# tests require a display and fail
doCheck = false;
nativeBuildInputs = [ wrapGAppsHook3 ];
propagatedBuildInputs = [
dependencies = [
gettext
gobject-introspection
gtk3
@@ -57,7 +57,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
++ (with python3Packages; [
pillow
pygobject3
setuptools
]);
patches = [ ./0001-Changing-paths-to-be-nix-compatible.patch ];