nixpkgs/pkgs/os-specific/linux/tunctl/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

21 lines
496 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "tunctl-1.5";
src = fetchurl {
url = mirror://sourceforge/tunctl/tunctl-1.5.tar.gz;
sha256 = "aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff";
};
makeFlags = [ "tunctl" ];
installPhase = ''
mkdir -p $out/bin
cp tunctl $out/bin
'';
meta = {
homepage = http://tunctl.sourceforge.net/;
description = "Utility to set up and maintain TUN/TAP network interfaces";
license = "GPLv2";
};
}