editor-open.cabal 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. name: editor-open
  2. version: 0.3.0.0
  3. synopsis: Open the user's $EDITOR for text input.
  4. description:
  5. You know when you run @git commit@, and an editor pops open so you can enter a
  6. commit message? This is a Haskell library that does that.
  7. .
  8. This library isn't very portable. It relies on the @$EDITOR@ environment
  9. variable. The concept only exists on *nix systems.
  10. homepage: https://github.com/pharpend/editor-open
  11. license: Apache-2.0
  12. license-file: LICENSE
  13. author: Peter Harpending
  14. maintainer: peter@harpending.org
  15. copyright: Copyright 2015 Peter Harpending
  16. category: Text
  17. build-type: Simple
  18. cabal-version: >=1.10
  19. bug-reports: https://github.com/pharpend/editor-open/issues/new
  20. extra-source-files:
  21. README.md
  22. data-files:
  23. res/*.json
  24. res/*.yaml
  25. library
  26. -- other-modules:
  27. -- other-extensions:
  28. hs-source-dirs: src
  29. default-language: Haskell2010
  30. default-extensions:
  31. LambdaCase
  32. MultiWayIf
  33. OverloadedStrings
  34. RankNTypes
  35. build-depends:
  36. base ==4.8.*
  37. , bytestring
  38. , conduit >=1.2.3 && <1.3
  39. , conduit-extra
  40. , directory
  41. , process >=1.2
  42. , resourcet
  43. , temporary
  44. , transformers
  45. , unix
  46. exposed-modules:
  47. Text.Editor
  48. executable editor-open-test_yaml_file
  49. hs-source-dirs: tests/
  50. default-language: Haskell2010
  51. build-depends:
  52. base ==4.8.*
  53. , bytestring
  54. , editor-open
  55. main-is: test_yaml_file.hs
  56. -- other-modules:
  57. -- other-extensions:
  58. source-repository head
  59. type: git
  60. location: https://github.com/pharpend/editor-open.git
  61. source-repository this
  62. type: git
  63. location: https://github.com/pharpend/editor-open.git
  64. tag: 0.3.0.0