From 1e88272f55b3276a94818139af09d2622c77c19e Mon Sep 17 00:00:00 2001 From: Matthew O'Gorman Date: Fri, 26 Aug 2016 11:57:14 -0400 Subject: added gr-ais and gr-gsm gr-rds as plugins --- pkgs/applications/misc/libosmocore/default.nix | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/applications/misc/libosmocore/default.nix (limited to 'pkgs/applications/misc/libosmocore') diff --git a/pkgs/applications/misc/libosmocore/default.nix b/pkgs/applications/misc/libosmocore/default.nix new file mode 100644 index 000000000000..7a0eadf74e5a --- /dev/null +++ b/pkgs/applications/misc/libosmocore/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, pcsclite, pkgconfig +}: + +stdenv.mkDerivation rec { + name = "libosmocore-${version}"; + version = "0.9.0"; + + src = fetchFromGitHub { + owner = "osmocom"; + repo = "libosmocore"; + rev = "8649d57f507d359c99a89654aac7e19ce22db282"; + sha256 = "08mcpy9ljwb1i3l4cmlwn024q2psk5gg9f0ylgh99hy1ffx0n7am"; + }; + + buildInputs = [ + autoreconfHook pcsclite pkgconfig + ]; + + preConfigure = '' + autoreconf -i -f + ''; + + meta = with stdenv.lib; { + description = "libosmocore"; + homepage = https://github.com/osmocom/libosmocore; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ mog ]; + }; +} -- cgit 1.4.1