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