Skip to content

Commit 77a4930

Browse files
ax25-apps: 0.0.8-rc5 -> 0.0.8-rc5-unstable-2021-05-13 (NixOS#389138)
2 parents 6f65613 + 5a42e0f commit 77a4930

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed
Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
{
22
lib,
33
stdenv,
4-
fetchurl,
4+
fetchFromGitHub,
5+
autoreconfHook,
56
libax25,
67
ncurses,
78
}:
89

9-
stdenv.mkDerivation rec {
10+
stdenv.mkDerivation {
1011
pname = "ax25-apps";
11-
version = "0.0.8-rc5";
12+
version = "0.0.8-rc5-unstable-2021-05-13";
1213

1314
buildInputs = [
15+
autoreconfHook
1416
libax25
1517
ncurses
1618
];
1719

18-
# Due to recent unsolvable administrative domain problems with linux-ax25.org,
19-
# the new domain is linux-ax25.in-berlin.de
20-
src = fetchurl {
21-
url = "https://linux-ax25.in-berlin.de/pub/ax25-apps/ax25-apps-${version}.tar.gz";
22-
sha256 = "sha256-MzQOIyy5tbJKmojMrgtOcsaQTFJvs3rqt2hUgholz5Y=";
20+
# src from linux-ax25.in-berlin.de remote has been
21+
# unreliable, pointing to github mirror from the radiocatalog
22+
src = fetchFromGitHub {
23+
owner = "radiocatalog";
24+
repo = "ax25-apps";
25+
rev = "afc4a5faa01a24c4da1d152b901066405f36adb6";
26+
hash = "sha256-RLeFndis2OhIkJPLD+YfEUrJdZL33huVzlHq+kGq7dA=";
2327
};
2428

2529
configureFlags = [
@@ -28,11 +32,11 @@ stdenv.mkDerivation rec {
2832
"--program-transform-name=s@^call$@ax&@;s@^listen$@ax&@"
2933
];
3034

31-
meta = with lib; {
35+
meta = {
3236
description = "AX.25 ham radio applications";
3337
homepage = "https://linux-ax25.in-berlin.de/wiki/Main_Page";
34-
license = licenses.lgpl21Only;
35-
maintainers = with maintainers; [ sarcasticadmin ];
36-
platforms = platforms.linux;
38+
license = lib.licenses.lgpl21Only;
39+
maintainers = with lib.maintainers; [ sarcasticadmin ];
40+
platforms = lib.platforms.linux;
3741
};
3842
}

0 commit comments

Comments
 (0)