Skip to content

Commit

Permalink
Moved IHP.ServerSideComponent.* to ihp-ssc package
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed May 20, 2024
1 parent c5301cf commit 50fbe02
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 9 deletions.
9 changes: 9 additions & 0 deletions NixSupport/haskell-packages/ihp-ssc.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{ mkDerivation, ihp, lib, aeson, megaparsec, bytestring, wai, websockets, ihp-hsx, base, string-conversions, basic-prelude, text, blaze-html, attoparsec }:
mkDerivation {
pname = "ihp-ssc";
version = "1.3.0";
src = ./../../ihp-ssc;
libraryHaskellDepends = [ ihp aeson megaparsec bytestring wai websockets ihp-hsx base string-conversions basic-prelude text blaze-html attoparsec ];
description = "Server Side Components for IHP";
license = lib.licenses.mit;
}
1 change: 1 addition & 0 deletions devenv-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ that is defined in flake-module.nix
packages = {
default = ghcCompiler.ihp;
ide = ghcCompiler.ihp-ide;
ssc = ghcCompiler.ihp-ssc;
};
};
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
58 changes: 58 additions & 0 deletions ihp-ssc/ihp-ssc.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
cabal-version: 2.2
name: ihp-ssc
version: 1.3.0
synopsis: Server Side Components for IHP
description: IHP Server-Side Components provide a toolkit for building interactive client-side functionality without needing to write too much JavaScript.
license: NONE
author: digitally induced GmbH
maintainer: [email protected]
-- copyright:
-- category:
build-type: Simple

library
default-language: Haskell2010
default-extensions:
OverloadedStrings
, NoImplicitPrelude
, ImplicitParams
, Rank2Types
, NamedFieldPuns
, TypeSynonymInstances
, FlexibleInstances
, DisambiguateRecordFields
, DuplicateRecordFields
, OverloadedLabels
, FlexibleContexts
, DataKinds
, QuasiQuotes
, TypeFamilies
, PackageImports
, ScopedTypeVariables
, RecordWildCards
, TypeApplications
, DataKinds
, InstanceSigs
, DeriveGeneric
, MultiParamTypeClasses
, TypeOperators
, DeriveDataTypeable
, DefaultSignatures
, BangPatterns
, FunctionalDependencies
, PartialTypeSignatures
, BlockArguments
, LambdaCase
, StandaloneDeriving
, TemplateHaskell
, OverloadedRecordDot
hs-source-dirs: .
build-depends: ihp, aeson, megaparsec, bytestring, wai, websockets, ihp-hsx, base, string-conversions, basic-prelude, text, blaze-html, attoparsec
exposed-modules:
IHP.ServerSideComponent.Types
, IHP.ServerSideComponent.ViewFunctions
, IHP.ServerSideComponent.RouterFunctions
, IHP.ServerSideComponent.ControllerFunctions
, IHP.ServerSideComponent.Controller.ComponentsController
, IHP.ServerSideComponent.HtmlDiff
, IHP.ServerSideComponent.HtmlParser
9 changes: 0 additions & 9 deletions ihp.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ common shared-properties
, process
, typerep-map
, basic-prelude
, megaparsec
, async
, network
, unliftio
Expand Down Expand Up @@ -261,14 +260,6 @@ library
, IHP.PageHead.ViewFunctions
, IHP.Assets.Types
, IHP.Assets.ViewFunctions
-- Server Side Component Modules
, IHP.ServerSideComponent.Types
, IHP.ServerSideComponent.ViewFunctions
, IHP.ServerSideComponent.RouterFunctions
, IHP.ServerSideComponent.ControllerFunctions
, IHP.ServerSideComponent.Controller.ComponentsController
, IHP.ServerSideComponent.HtmlDiff
, IHP.ServerSideComponent.HtmlParser
, IHP.Breadcrumb.Types
, IHP.Breadcrumb.ViewFunctions
, IHP.FileStorage.Types
Expand Down

0 comments on commit 50fbe02

Please sign in to comment.