add libosmo-cc and osmocom-analog

This commit is contained in:
2025-03-13 23:20:14 -04:00
parent 77d01755d0
commit 90a152d6f1
2 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation rec {
pname = "libosmo-cc";
version = "unstable-2025-03-03";
src = pkgs.fetchgit {
url = "https://gitea.osmocom.org/cc/libosmo-cc.git";
rev = "b5a4d441bf3892b146e4655bbcaee0f1b486c6e8";
hash = "sha256-ktMxU9Yc0ZQXH3Z3jGNSWFMypZ2OoqkJDHqkaVRBQME=";
};
nativeBuildInputs = with pkgs; [
autoconf271
automake
gnumake
libtool
pkg-config
];
buildInputs = with pkgs; [
libosmocore
];
configurePhase = ''
autoreconf -fi
./configure --prefix=$out
'';
}