2017-07-12 19:14:07 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
|
|
|
, pcsclite, talloc, python2
|
2016-08-26 17:57:14 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libosmocore-${version}";
|
2017-07-12 19:14:07 +02:00
|
|
|
version = "0.9.6";
|
2016-08-26 17:57:14 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "osmocom";
|
|
|
|
repo = "libosmocore";
|
2017-07-12 19:14:07 +02:00
|
|
|
rev = "3cc757df1822114bf446dc2d5f6a95da92321a25";
|
|
|
|
sha256 = "0dk7065qcy2kjra0p8q2124p73jcyvvzz3cmhid1kx5scyxmr017";
|
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 = [
|
2017-07-12 19:14:07 +02:00
|
|
|
pcsclite python2
|
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;
|
2017-07-15 02:27:47 +02:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-08-26 17:57:14 +02:00
|
|
|
maintainers = with maintainers; [ mog ];
|
|
|
|
};
|
|
|
|
}
|