libosmo-netif: init at 1.3.0
This commit is contained in:
parent
84fe5ccedb
commit
1457d54ab1
2 changed files with 46 additions and 0 deletions
44
pkgs/servers/osmocom/libosmo-netif/default.nix
Normal file
44
pkgs/servers/osmocom/libosmo-netif/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, lksctp-tools
|
||||
, pkg-config
|
||||
, libosmocore
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libosmo-netif";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "osmocom";
|
||||
repo = "libosmo-netif";
|
||||
rev = version;
|
||||
hash = "sha256-PhGi/6JVO8tXxzfGwEKUB/GdrgCJkqROo26TPU+O9Sg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
echo "${version}" > .tarball-version
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
lksctp-tools
|
||||
libosmocore
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Osmocom network / socket interface library";
|
||||
homepage = "https://osmocom.org/projects/libosmo-netif/wiki";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ janik ];
|
||||
};
|
||||
}
|
|
@ -22006,6 +22006,8 @@ with pkgs;
|
|||
|
||||
libosmocore = callPackage ../servers/osmocom/libosmocore { };
|
||||
|
||||
libosmo-netif = callPackage ../servers/osmocom/libosmo-netif { };
|
||||
|
||||
libosmscout = libsForQt5.callPackage ../development/libraries/libosmscout { };
|
||||
|
||||
libotr = callPackage ../development/libraries/libotr { };
|
||||
|
|
Loading…
Reference in a new issue