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