nixpkgs/pkgs/tools/networking/dibbler/default.nix

26 lines
653 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2016-07-24 11:43:59 +01:00
stdenv.mkDerivation rec {
pname = "dibbler";
2016-07-24 11:43:59 +01:00
version = "1.0.1";
src = fetchurl {
url = "http://www.klub.com.pl/dhcpv6/dibbler/${pname}-${version}.tar.gz";
2016-07-24 11:43:59 +01:00
sha256 = "18bnwkvax02scjdg5z8gvrkvy1lhssfnlpsaqb5kkh30w1vri1i7";
};
configureFlags = [
"--enable-resolvconf"
];
2017-09-09 14:21:45 +01:00
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-D__APPLE_USE_RFC_2292=1";
meta = with lib; {
2016-07-24 11:43:59 +01:00
description = "Portable DHCPv6 implementation";
homepage = "http://www.klub.com.pl/dhcpv6/";
2016-07-24 11:43:59 +01:00
license = licenses.gpl2;
platforms = platforms.all;
maintainers = with maintainers; [ fpletz ];
};
}