Securely trigger personal scripts from incoming HTTP requests
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

personal-webhooks.nix 1.0KB

123456789101112131415161718192021222324252627
  1. { mkDerivation, aeson, base, bytestring, containers, cryptonite
  2. , data-default, directory, filepath, opaleye, optparse-applicative
  3. , postgresql-simple, postgresql-simple-migration
  4. , product-profunctors, resource-pool, sandi, snap-core, snap-server
  5. , stdenv, table-layout, template-haskell, text, time, transformers
  6. , yaml
  7. }:
  8. mkDerivation {
  9. pname = "personal-webhooks";
  10. version = "0.1.0.1";
  11. src = ./.;
  12. isLibrary = true;
  13. isExecutable = true;
  14. enableSeparateDataOutput = true;
  15. libraryHaskellDepends = [
  16. aeson base bytestring containers cryptonite data-default directory
  17. filepath opaleye optparse-applicative postgresql-simple
  18. postgresql-simple-migration product-profunctors resource-pool sandi
  19. template-haskell text time transformers yaml
  20. ];
  21. executableHaskellDepends = [
  22. aeson base bytestring data-default opaleye optparse-applicative
  23. snap-core snap-server table-layout text transformers
  24. ];
  25. description = "Trigger personal scripts from incoming HTTP requests";
  26. license = stdenv.lib.licenses.bsd2;
  27. }