libgphoto2: fetch tag instead of branch

This commit is contained in:
Robert Schütz
2026-06-02 22:50:38 -07:00
parent c4abdf280b
commit 0d63ac320c
+2 -2
View File
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "gphoto";
repo = "libgphoto2";
rev = "libgphoto2-${builtins.replaceStrings [ "." ] [ "_" ] version}-release";
sha256 = "sha256-+yPpoIgyXL/Qp2C4ykSlUg2BheWjzTEi6wID6yCsP/s=";
tag = "v${version}";
hash = "sha256-+yPpoIgyXL/Qp2C4ykSlUg2BheWjzTEi6wID6yCsP/s=";
};
depsBuildBuild = [ pkg-config ];