1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 21:17:46 +00:00
nixpkgs/pkgs/development/libraries/ntrack/default.nix
Yury G. Kudryashov 51956f085d ntrack-016, add meta
svn path=/nixpkgs/trunk/; revision=31550
2012-01-14 18:03:34 +00:00

30 lines
798 B
Nix

{ stdenv, fetchurl, glib, qt4, pkgconfig, libnl, pygobject, python }:
let
version = "016";
in
stdenv.mkDerivation rec {
name = "ntrack-${version}";
src = fetchurl {
url = "http://launchpad.net/ntrack/main/${version}/+download/${name}.tar.gz";
sha256 = "037ig5y0mp327m0hh4pnfr3vmsk3wrxgfjy3645q4ws9vdhx807w";
};
buildInputs = [ libnl qt4 ];
buildNativeInputs = [ pkgconfig python ];
configureFlags = "--without-gobject CFLAGS=--std=gnu99";
patchPhase = ''sed -e "s@/usr\(/lib/ntrack/modules/\)@$out&@" -i common/ntrack.c'';
meta = {
description = "Network Connectivity Tracking library for Desktop Applications";
homepage = https://launchpad.net/ntrack;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}