1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/networking/dibbler/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

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

to pname
2019-08-15 13:41:18 +01:00

26 lines
653 B
Nix

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