gps-share: 0.3.1 -> 0.3.1-unstable-2024-03-19

This commit is contained in:
2025-03-11 15:29:02 +00:00
parent ba7a931b18
commit b18797bf98

View File

@@ -4,17 +4,19 @@
pkg-config, pkg-config,
rustPlatform, rustPlatform,
udev, udev,
unstableGitUpdater,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage {
pname = "gps-share"; pname = "gps-share";
version = "0.3.1"; # require 0.3.1-unstable because 0.3.1 doesn't pass `doCheck`; tip has test fixes
version = "0.3.1-unstable-2024-03-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zeenix"; owner = "zeenix";
repo = "gps-share"; repo = "gps-share";
rev = version; rev = "2b3955549643ae99ebe0681079d6fa1deaee20ea";
hash = "sha256-Rh7Pt9JN30TyuxwHOn8dwZrUfmkknUhOGonbhROpGxA="; hash = "sha256-GBO5b8yqQkEcmAEsvcLTZoQF8MOdutvNIbqk7OTVdFk=";
}; };
cargoHash = "sha256-WhYHFaSZfnlEmlXFLj7BIt0agMFuz07LcAXJ9ZOOrvY="; cargoHash = "sha256-WhYHFaSZfnlEmlXFLj7BIt0agMFuz07LcAXJ9ZOOrvY=";
@@ -28,7 +30,7 @@ rustPlatform.buildRustPackage rec {
udev udev
]; ];
doCheck = false; #< 'Failed to start gps-share: Os { code: 2, kind: NotFound, message: "No such file or directory" }' passthru.updateScript = unstableGitUpdater { };
meta = with lib; { meta = with lib; {
description = "utility to share your GPS device on local network"; description = "utility to share your GPS device on local network";