nixpkgs/pkgs/applications/misc/libosmocore/default.nix
2016-09-14 12:54:20 -04:00

31 lines
698 B
Nix

{ 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 ];
};
}