mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
96d41e393d
It's sad, but he's been inactive for the last five years. Keeping such people in meta.maintainers is counter-productive.
35 lines
841 B
Nix
35 lines
841 B
Nix
{ stdenv, fetchurl, glib, qt4, pkgconfig, libnl, 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 ];
|
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
|
|
|
configureFlags = "--without-gobject CFLAGS=--std=gnu99";
|
|
|
|
# Remove this patch after version 016
|
|
patches = [ ./libnl-fix.patch ];
|
|
|
|
postPatch = ''
|
|
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 = [ ];
|
|
};
|
|
}
|