mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
Adding GVPE - a protected virtual multinode ethernet
svn path=/nixpkgs/trunk/; revision=16913
This commit is contained in:
parent
b6a12ac090
commit
ef6a270501
|
@ -20,5 +20,7 @@ rec {
|
|||
maintainers = [
|
||||
a.lib.maintainers.(abort "Specify maintainer")
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
(abort "Specify supported platforms");
|
||||
};
|
||||
}
|
||||
|
|
25
pkgs/tools/networking/gvpe/default.nix
Normal file
25
pkgs/tools/networking/gvpe/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
a :
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
openssl
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
inherit (s) name;
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "A proteted multinode virtual network";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms; linux ++ freebsd;
|
||||
};
|
||||
}
|
8
pkgs/tools/networking/gvpe/src-for-default.nix
Normal file
8
pkgs/tools/networking/gvpe/src-for-default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
rec {
|
||||
advertisedUrl="http://ftp.gnu.org/gnu/gvpe/gvpe-2.22.tar.gz";
|
||||
version = "2.22";
|
||||
url="http://ftp.gnu.org/gnu/gvpe/gvpe-2.22.tar.gz";
|
||||
hash = "01p1akcib8wxpsma9i3zlnqwd78swpjhwx4drp9h57f0hp14cr7w";
|
||||
name = "gvpe-2.22";
|
||||
|
||||
}
|
5
pkgs/tools/networking/gvpe/src-info-for-default.nix
Normal file
5
pkgs/tools/networking/gvpe/src-info-for-default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
downloadPage = "http://ftp.gnu.org/gnu/gvpe/?C=M;O=D";
|
||||
baseName = "gvpe";
|
||||
sourceRegexp = "[.]tar[.]gz\$";
|
||||
}
|
|
@ -848,6 +848,10 @@ let
|
|||
inherit (gnome) libsoup libglade gnomeicontheme;
|
||||
};
|
||||
|
||||
gvpe = builderDefsPackage ../tools/networking/gvpe {
|
||||
inherit openssl;
|
||||
};
|
||||
|
||||
gzip = useFromStdenv "gzip"
|
||||
(import ../tools/compression/gzip {
|
||||
inherit fetchurl stdenv;
|
||||
|
|
Loading…
Reference in a new issue