direwolf-unstable: init at 1.7-unstable-2025-04-29
This commit is contained in:
41
pkgs/by-name/di/direwolf-unstable/package.nix
Normal file
41
pkgs/by-name/di/direwolf-unstable/package.nix
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
direwolf,
|
||||||
|
nix-update-script,
|
||||||
|
hamlibSupport ? true,
|
||||||
|
gpsdSupport ? true,
|
||||||
|
extraScripts ? false,
|
||||||
|
}:
|
||||||
|
|
||||||
|
(direwolf.override {
|
||||||
|
inherit hamlibSupport gpsdSupport extraScripts;
|
||||||
|
}).overrideAttrs
|
||||||
|
(oldAttrs: {
|
||||||
|
version = "1.7-unstable-2025-04-29";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "wb2osz";
|
||||||
|
repo = "direwolf";
|
||||||
|
rev = "486b3cf1f685502af7dc87b0f9c9cead6800d47b";
|
||||||
|
hash = "sha256-VFBkOWHGZP7GjekHL3GY3BGkVXQbtyD1YPmu0xaQ1ME=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch =
|
||||||
|
builtins.replaceStrings
|
||||||
|
[
|
||||||
|
"decode_aprs.c"
|
||||||
|
"tocalls.txt"
|
||||||
|
"--replace-fail /etc/udev/rules.d/"
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"deviceid.c"
|
||||||
|
"tocalls.yaml"
|
||||||
|
"--replace-fail /usr/lib/udev/rules.d/ $out/lib/udev/rules.d/ --replace-fail /etc/udev/rules.d/"
|
||||||
|
]
|
||||||
|
oldAttrs.postPatch;
|
||||||
|
|
||||||
|
dontVersionCheck = true;
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch=dev" ]; };
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user