From 5bed88371ad74844d798de8415da058a7da18144 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 5 Nov 2014 02:28:45 +0000 Subject: rename project cgroup-server to cgserver --- cgroup-server.cabal | 33 --------------------------------- cgserver.cabal | 33 +++++++++++++++++++++++++++++++++ default.nix | 4 ++-- env.nix | 2 +- 4 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 cgroup-server.cabal create mode 100644 cgserver.cabal diff --git a/cgroup-server.cabal b/cgroup-server.cabal deleted file mode 100644 index 9d5a054..0000000 --- a/cgroup-server.cabal +++ /dev/null @@ -1,33 +0,0 @@ -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.3 - , wai >=3.0 && <3.1 - , warp >=3.0 && <3.1 - hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall diff --git a/cgserver.cabal b/cgserver.cabal new file mode 100644 index 0000000..611315a --- /dev/null +++ b/cgserver.cabal @@ -0,0 +1,33 @@ +name: cgserver +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 cgserver + 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.3 + , wai >=3.0 && <3.1 + , warp >=3.0 && <3.1 + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -Wall diff --git a/default.nix b/default.nix index 68be292..c298fa6 100644 --- a/default.nix +++ b/default.nix @@ -3,10 +3,10 @@ with pkgs.haskellPackages; cabal.mkDerivation (self: { - pname = "cgroup-server"; + pname = "cgserver"; version = "0.1.0.0"; src = if devel then ./. else pkgs.fetchgit { - url = http://viljetic.de/~tv/git/cgroup-server; + url = http://viljetic.de/~tv/git/cgserver; sha256 = "e48d52730d5c6eb190c9dd38b853c81441e3aae87b3ffbfeaa97cca28b94d8ce"; rev = "d0129ff4d13cedbc6d1b85cadddc724783c8002a"; }; diff --git a/env.nix b/env.nix index 2b6aae1..bb11ab4 100644 --- a/env.nix +++ b/env.nix @@ -1,5 +1,5 @@ let - name = "cgroup-server"; + name = "cgserver"; version = "1"; buildInputs = with pkgs; [ hsEnv -- cgit v1.2.3