From 3402bbc71d4492caff4098b9606a58ab18ab67c2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 14 Sep 2015 22:07:20 +0000 Subject: First shot at basic structure The planned webapp is missing for now. `nix-build -A servant` fails because thermoprint does not seem to be registered with ghc (see `echo 'import Thermoprint' | nix-shell -p 'ghci'`) --- servant/servant.cabal | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 servant/servant.cabal (limited to 'servant/servant.cabal') diff --git a/servant/servant.cabal b/servant/servant.cabal new file mode 100644 index 0000000..b509dbc --- /dev/null +++ b/servant/servant.cabal @@ -0,0 +1,26 @@ +-- Initial thermoprint.cabal generated by cabal init. For further +-- documentation, see http://haskell.org/cabal/users-guide/ + +name: thermoprint-servant +version: 0.0.0 +synopsis: Server for interfacing to cheap thermoprinters +-- description: +homepage: git://git.yggdrasil.li/thermoprint +license: PublicDomain +license-file: LICENSE +author: Gregor Kleen +maintainer: aethoago@141.li +-- copyright: +category: Web +build-type: Simple +-- extra-source-files: +cabal-version: >=1.10 + +executable thermoprint + main-is: Main.hs + -- other-modules: + -- other-extensions: + build-depends: base >=4.8 && <4.9 + , thermoprint + hs-source-dirs: src + default-language: Haskell2010 \ No newline at end of file -- cgit v1.2.3