ntrack-011
svn path=/nixpkgs/trunk/; revision=27386
This commit is contained in:
parent
5fb0953680
commit
496ab8b948
22
pkgs/development/libraries/ntrack/default.nix
Normal file
22
pkgs/development/libraries/ntrack/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||||
|
}
|
14
pkgs/development/libraries/ntrack/libnl2.patch
Normal file
14
pkgs/development/libraries/ntrack/libnl2.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Source: upstream rev. 269
|
||||||
|
|
||||||
|
=== modified file 'modules/ntrack-libnl.c'
|
||||||
|
--- old/modules/ntrack-libnl.c 2010-12-26 13:22:32 +0000
|
||||||
|
+++ new/modules/ntrack-libnl.c 2011-03-26 23:21:49 +0000
|
||||||
|
@@ -74,6 +74,7 @@
|
||||||
|
nl_cache_mngr_add (mngr, \
|
||||||
|
name, \
|
||||||
|
0, \
|
||||||
|
+ 0, \
|
||||||
|
&cache_o)
|
||||||
|
#define NL_PRINT_ERROR(text,err) \
|
||||||
|
printf ("%s/%s\n", text, nl_geterror(err))
|
||||||
|
|
@ -4009,6 +4009,8 @@ let
|
|||||||
includeTools = true;
|
includeTools = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ntrack = callPackage ../development/libraries/ntrack { };
|
||||||
|
|
||||||
ode = builderDefsPackage (import ../development/libraries/ode) {
|
ode = builderDefsPackage (import ../development/libraries/ode) {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user