nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 42 lines 973 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 libax25, 7 ncurses, 8}: 9 10stdenv.mkDerivation { 11 pname = "ax25-apps"; 12 version = "0.0.8-rc5-unstable-2021-05-13"; 13 14 buildInputs = [ 15 autoreconfHook 16 libax25 17 ncurses 18 ]; 19 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="; 27 }; 28 29 configureFlags = [ 30 "--sysconfdir=/etc" 31 "--localstatedir=/var/lib" 32 "--program-transform-name=s@^call$@ax&@;s@^listen$@ax&@" 33 ]; 34 35 meta = { 36 description = "AX.25 ham radio applications"; 37 homepage = "https://linux-ax25.in-berlin.de/wiki/Main_Page"; 38 license = lib.licenses.lgpl21Only; 39 maintainers = with lib.maintainers; [ sarcasticadmin ]; 40 platforms = lib.platforms.linux; 41 }; 42}