2017-07-12 19:14:07 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2018-12-08 16:41:01 +01:00
|
|
|
, pcsclite, talloc, python2, gnutls
|
2016-08-26 17:57:14 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libosmocore-${version}";
|
2019-06-02 05:32:44 +02:00
|
|
|
version = "1.1.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-06-02 05:32:44 +02:00
|
|
|
sha256 = "1ayxpq03mv547sirdy3j9vnsjd1q07adhwwnl3wffz3c39wlax68";
|
2016-08-26 17:57:14 +02:00
|
|
|
};
|
|
|
|
|
2017-07-12 19:14:07 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
talloc
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkgconfig
|
|
|
|
];
|
|
|
|
|
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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "libosmocore";
|
|
|
|
homepage = https://github.com/osmocom/libosmocore;
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|