2017-07-12 17:14:07 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2018-12-08 15:41:01 +00:00
|
|
|
, pcsclite, talloc, python2, gnutls
|
2016-08-26 15:57:14 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libosmocore-${version}";
|
2019-01-28 10:34:22 +00:00
|
|
|
version = "1.0.1";
|
2016-08-26 15:57:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "osmocom";
|
|
|
|
repo = "libosmocore";
|
2018-12-08 15:41:01 +00:00
|
|
|
rev = version;
|
2019-01-28 10:34:22 +00:00
|
|
|
sha256 = "08xbj2calh1zkp79kxbq01vnh0y7nkgd4cgsivrzlyqahilbzvd9";
|
2016-08-26 15:57:14 +00:00
|
|
|
};
|
|
|
|
|
2017-07-12 17:14:07 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
talloc
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkgconfig
|
|
|
|
];
|
|
|
|
|
2016-08-26 15:57:14 +00:00
|
|
|
buildInputs = [
|
2018-12-08 15:41:01 +00:00
|
|
|
pcsclite python2 gnutls
|
2016-08-26 15:57:14 +00:00
|
|
|
];
|
|
|
|
|
2017-07-12 17:14:07 +00:00
|
|
|
enableParallelBuilding = true;
|
2016-08-26 15:57:14 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "libosmocore";
|
|
|
|
homepage = https://github.com/osmocom/libosmocore;
|
|
|
|
license = licenses.gpl2Plus;
|
2018-12-08 18:37:48 +00:00
|
|
|
platforms = platforms.linux;
|
2016-08-26 15:57:14 +00:00
|
|
|
maintainers = with maintainers; [ mog ];
|
|
|
|
};
|
|
|
|
}
|