summary refs log tree commit diff
path: root/pkgs/development/libraries/ntrack/default.nix
blob: 340dae42239f756b6afb912b8c31e70a367560ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, glib, qt4, pkgconfig, libnl2, pygobject, python }:

let
  version = "011";
in

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

  src = fetchurl {
    url = "http://launchpad.net/ntrack/main/${version}/+download/${name}.tar.gz";
    sha256 = "0qi6nhymsv7w6hfxnz9jbxk311wb6x9jci7a3gcr4cc5nwkl7sxy";
  };

  buildInputs = [ libnl2 qt4 ];

  buildNativeInputs = [ pkgconfig python ];

  configureFlags = "--without-gobject CFLAGS=--std=gnu99";

  patches = [ ./libnl2.patch ];
}