mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 10:24:07 +00:00
38 lines
812 B
Nix
38 lines
812 B
Nix
|
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config
|
||
|
, libosmocore, lksctp-tools
|
||
|
}:
|
||
|
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "libosmo-netif";
|
||
|
version = "1.3.0";
|
||
|
|
||
|
src = fetchgit {
|
||
|
url = "https://gitea.osmocom.org/osmocom/libosmo-netif";
|
||
|
rev = version;
|
||
|
sha256 = "sha256-PhGi/6JVO8tXxzfGwEKUB/GdrgCJkqROo26TPU+O9Sg=";
|
||
|
};
|
||
|
|
||
|
postPatch = ''
|
||
|
echo "${version}" > .tarball-version
|
||
|
'';
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
autoreconfHook
|
||
|
pkg-config
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
libosmocore
|
||
|
lksctp-tools
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Higher-layer GSM cellular communications protocol implementation";
|
||
|
homepage = "https://gitea.osmocom.org/osmocom/libosmo-netif";
|
||
|
maintainers = [ maintainers.markuskowa ];
|
||
|
platforms = platforms.linux;
|
||
|
license = licenses.agpl3Only;
|
||
|
};
|
||
|
}
|