summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-11-03 22:50:37 +0000
committertv <tv@shackspace.de>2014-11-03 23:52:59 +0100
commitd0129ff4d13cedbc6d1b85cadddc724783c8002a (patch)
tree2ada93a392c005b0cd460b0e63ab1e7b7d0db9a3
parent7a9aac48f2fce05bd6fd8daf9cb3a52098a841eb (diff)
add cgroup-server.cabal and LICENSE
-rw-r--r--LICENSE30
-rw-r--r--cgroup-server.cabal33
2 files changed, 63 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..7a641a1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,30 @@
+Copyright (c) 2014, Tomislav Viljetić
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * Neither the name of Tomislav Viljetić nor the names of other
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/cgroup-server.cabal b/cgroup-server.cabal
new file mode 100644
index 0000000..8977394
--- /dev/null
+++ b/cgroup-server.cabal
@@ -0,0 +1,33 @@
+name: cgroup-server
+version: 0.1.0.0
+description: A HTTP server that provides an API to manage cgroups.
+license: BSD3
+license-file: LICENSE
+author: Tomislav Viljetić
+maintainer: tomislav@viljetic.de
+copyright: (c) 2014 Tomislav Viljetić
+-- category:
+build-type: Simple
+extra-source-files: README
+cabal-version: >=1.10
+
+executable cgroup-server
+ main-is: Main.hs
+ -- other-modules:
+ other-extensions: OverloadedStrings
+ build-depends: base >=4.7 && <4.8
+ , aeson >=0.8 && <0.9
+ , attoparsec >=0.12 && <0.13
+ , bytestring >=0.10 && <0.11
+ , containers >=0.5 && <0.6
+ , directory >=1.2 && <1.3
+ , filepath >=1.3 && <1.4
+ , http-types >=0.8 && <0.9
+ , io-streams >=1.2 && <1.3
+ , safe >=0.3 && <0.4
+ , text >=1.1 && <1.2
+ , wai >=3.0 && <3.1
+ , warp >=3.0 && <3.1
+ -- hs-source-dirs:
+ default-language: Haskell2010
+ ghc-options: -Wall