From d676fab367b1653898d71aaa3573de14fbcd8e44 Mon Sep 17 00:00:00 2001 From: Alex Plotnick Date: Thu, 29 Jul 2021 14:55:27 -0600 Subject: [PATCH] gerbilPackages-unstable.ftw: init at 2022-01-14 --- pkgs/development/compilers/gerbil/ftw.nix | 27 +++++++++++++++++++ .../compilers/gerbil/gerbil-support.nix | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/compilers/gerbil/ftw.nix diff --git a/pkgs/development/compilers/gerbil/ftw.nix b/pkgs/development/compilers/gerbil/ftw.nix new file mode 100644 index 000000000000..2f2c9956826d --- /dev/null +++ b/pkgs/development/compilers/gerbil/ftw.nix @@ -0,0 +1,27 @@ +{ lib, fetchFromGitHub, gerbilPackages, ... }: + +{ + pname = "ftw"; + version = "unstable-2022-01-14"; + git-version = "8ba16b3"; + softwareName = "FTW: For The Web!"; + gerbil-package = "drewc/ftw"; + + gerbilInputs = with gerbilPackages; [ gerbil-utils ]; + + pre-src = { + fun = fetchFromGitHub; + owner = "drewc"; + repo = "ftw"; + rev = "8ba16b3c1cdc2150df5af8ef3c92040ef8b563b9"; + sha256 = "153i6whm5jfcj9s1qpxz03sq67969lq11brssyjc3yv3wyb1b07h"; + }; + + meta = with lib; { + description = "Simple web handlers for Gerbil Scheme"; + homepage = "https://github.com/drewc/ftw"; + license = licenses.mit; + platforms = platforms.unix; + maintainers = with maintainers; [ fare ]; + }; +} diff --git a/pkgs/development/compilers/gerbil/gerbil-support.nix b/pkgs/development/compilers/gerbil/gerbil-support.nix index b628c6a48f34..e4b85fe5b54e 100644 --- a/pkgs/development/compilers/gerbil/gerbil-support.nix +++ b/pkgs/development/compilers/gerbil/gerbil-support.nix @@ -3,7 +3,7 @@ with pkgs.gerbil-support; { prePackages-unstable = - let pks = [ ./gerbil-libp2p.nix ./smug-gerbil.nix + let pks = [ ./gerbil-libp2p.nix ./smug-gerbil.nix ./ftw.nix ./gerbil-utils.nix ./gerbil-crypto.nix ./gerbil-poo.nix ./gerbil-persist.nix ./gerbil-ethereum.nix ]; call = pkg: callPackage pkg prePackage-defaults;