2017-07-12 20:14:07 +03:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2018-12-08 18:41:01 +03:00
|
|
|
, pcsclite, talloc, python2, gnutls
|
2016-08-26 18:57:14 +03:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "libosmocore";
|
2019-08-19 20:38:24 +03:00
|
|
|
version = "1.2.0";
|
2016-08-26 18:57:14 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "osmocom";
|
|
|
|
repo = "libosmocore";
|
2018-12-08 18:41:01 +03:00
|
|
|
rev = version;
|
2019-08-19 20:38:24 +03:00
|
|
|
sha256 = "1535y6r4csvslrxcki80ya6zhhc5jw2nvy9bymb55ln77pf853vg";
|
2016-08-26 18:57:14 +03:00
|
|
|
};
|
|
|
|
|
2017-07-12 20:14:07 +03:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
talloc
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkgconfig
|
|
|
|
];
|
|
|
|
|
2016-08-26 18:57:14 +03:00
|
|
|
buildInputs = [
|
2018-12-08 18:41:01 +03:00
|
|
|
pcsclite python2 gnutls
|
2016-08-26 18:57:14 +03:00
|
|
|
];
|
|
|
|
|
2017-07-12 20:14:07 +03:00
|
|
|
enableParallelBuilding = true;
|
2016-08-26 18:57:14 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-26 07:08:40 +03:00
|
|
|
description = "Set of Osmocom core libraries";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/osmocom/libosmocore";
|
2016-08-26 18:57:14 +03:00
|
|
|
license = licenses.gpl2Plus;
|
2018-12-08 21:37:48 +03:00
|
|
|
platforms = platforms.linux;
|
2016-08-26 18:57:14 +03:00
|
|
|
maintainers = with maintainers; [ mog ];
|
|
|
|
};
|
|
|
|
}
|