about summary refs log tree commit diff
path: root/pkgs/applications/misc/libosmocore/default.nix
blob: 17a13d7c49c4c1ce001f6e532ee4633d510a93d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, pcsclite, talloc, python2
}:

stdenv.mkDerivation rec {
  name = "libosmocore-${version}";
  version = "0.9.6";

  src = fetchFromGitHub {
    owner = "osmocom";
    repo = "libosmocore";
    rev = "3cc757df1822114bf446dc2d5f6a95da92321a25";
    sha256 = "0dk7065qcy2kjra0p8q2124p73jcyvvzz3cmhid1kx5scyxmr017";
  };

  propagatedBuildInputs = [
    talloc
  ];

  nativeBuildInputs = [
    autoreconfHook pkgconfig
  ];

  buildInputs = [
    pcsclite python2
  ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "libosmocore";
    homepage = https://github.com/osmocom/libosmocore;
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ mog ];
  };
}