diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-05-03 15:14:25 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-05-07 11:19:19 +0200 |
commit | d92b2b6a1bbd322dd65a8b6f51019610d350046e (patch) | |
tree | 7f7c21927b9cc05676501f297c51eb76b49e326c /nixpkgs/pkgs/by-name/ax | |
parent | 93c9e56b40530cc627d921cfc255c05b495d4017 (diff) | |
parent | 49050352f602fe87d16ff7b2b6a05b79eb20dc6f (diff) | |
download | nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.gz nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.bz2 nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.lz nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.xz nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.zst nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.zip |
Merge remote-tracking branch 'nixpkgs/nixos-unstable-small'
Conflicts: nixpkgs/nixos/modules/services/mail/mailman.nix nixpkgs/nixos/modules/services/mail/public-inbox.nix nixpkgs/pkgs/build-support/go/module.nix
Diffstat (limited to 'nixpkgs/pkgs/by-name/ax')
-rw-r--r-- | nixpkgs/pkgs/by-name/ax/ax25ms/package.nix | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/ax/ax25ms/package.nix b/nixpkgs/pkgs/by-name/ax/ax25ms/package.nix new file mode 100644 index 000000000000..94a5ca9ce6f8 --- /dev/null +++ b/nixpkgs/pkgs/by-name/ax/ax25ms/package.nix @@ -0,0 +1,64 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoconf +, protobuf +, pkg-config +, grpc +, libtool +, which +, automake +, libax25 +}: + +stdenv.mkDerivation { + pname = "ax25ms"; + version = "0-unstable-2024-04-28"; + + src = fetchFromGitHub { + owner = "ThomasHabets"; + repo = "ax25ms"; + rev = "c7d7213bb182e4b60f655c3f9f1bcb2b2440406b"; + hash = "sha256-GljGJa44topJ6T0g5wuU8GTHLKzNmQqUl8/AR+pw2+I="; + }; + + buildInputs = [ + protobuf + grpc + libax25 + ]; + + nativeBuildInputs = [ + which + pkg-config + autoconf + libtool + automake + ]; + + preConfigure = '' + patchShebangs scripts + ./bootstrap.sh + ''; + + postInstall = '' + set +e + for binary_path in "$out/bin"/*; do + filename=$(basename "$binary_path") + mv "$binary_path" "$out/bin/ax25ms-$filename" + done + set -e + ''; + + meta = with lib; { + description = "Set of AX.25 microservices, designed to be pluggable for any implementation"; + homepage = "https://github.com/ThomasHabets/ax25ms"; + license = licenses.asl20; + maintainers = with maintainers; [ + matthewcroughan + sarcasticadmin + pkharvey + ]; + platforms = platforms.all; + }; +} |