diff --git a/pkgs/build-support/builder-defs/template-bdp-uud.nix b/pkgs/build-support/builder-defs/template-bdp-uud.nix index a84239f62d57..2b2af257d37a 100644 --- a/pkgs/build-support/builder-defs/template-bdp-uud.nix +++ b/pkgs/build-support/builder-defs/template-bdp-uud.nix @@ -20,5 +20,7 @@ rec { maintainers = [ a.lib.maintainers.(abort "Specify maintainer") ]; + platforms = with a.lib.platforms; + (abort "Specify supported platforms"); }; } diff --git a/pkgs/tools/networking/gvpe/default.nix b/pkgs/tools/networking/gvpe/default.nix new file mode 100644 index 000000000000..f59ba83865ee --- /dev/null +++ b/pkgs/tools/networking/gvpe/default.nix @@ -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; + }; +} diff --git a/pkgs/tools/networking/gvpe/src-for-default.nix b/pkgs/tools/networking/gvpe/src-for-default.nix new file mode 100644 index 000000000000..10094c7b1292 --- /dev/null +++ b/pkgs/tools/networking/gvpe/src-for-default.nix @@ -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"; + +} diff --git a/pkgs/tools/networking/gvpe/src-info-for-default.nix b/pkgs/tools/networking/gvpe/src-info-for-default.nix new file mode 100644 index 000000000000..bbd8f41da029 --- /dev/null +++ b/pkgs/tools/networking/gvpe/src-info-for-default.nix @@ -0,0 +1,5 @@ +{ + downloadPage = "http://ftp.gnu.org/gnu/gvpe/?C=M;O=D"; + baseName = "gvpe"; + sourceRegexp = "[.]tar[.]gz\$"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b3e47766fd30..d3db22c638aa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;