nixpkgs/pkgs/applications/misc/libosmocore/default.nix
Markus Kowalewski 09f9e5456b
gnuradio-with-packages: build gsm and limesdr only on linux
This allows to build gnuradio-with-packages again on darwin

* libosmocore: remove darwin from platforms
* gnuradio-limesdr: remove darwin from platforms
2018-12-09 13:41:58 +01:00

37 lines
770 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, pcsclite, talloc, python2, gnutls
}:
stdenv.mkDerivation rec {
name = "libosmocore-${version}";
version = "0.12.1";
src = fetchFromGitHub {
owner = "osmocom";
repo = "libosmocore";
rev = version;
sha256 = "140c9jii0qs00s50kji1znc2339s22x8sz259x4pj35rrjzyyjgp";
};
propagatedBuildInputs = [
talloc
];
nativeBuildInputs = [
autoreconfHook pkgconfig
];
buildInputs = [
pcsclite python2 gnutls
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "libosmocore";
homepage = https://github.com/osmocom/libosmocore;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ mog ];
};
}