diff --git a/horizon.dhall b/horizon.dhall index b4285d27bc13c856d3467886de254a6eca687259..74f6275e42bfc85a21215f64676d4d90647c76ce 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -187,6 +187,7 @@ let packages = , cpphs = H.callHackage "cpphs" "1.20.9.1" , criterion-measurement = H.callHackage "criterion-measurement" "0.2.0.0" , criterion = H.callHackage "criterion" "1.5.13.0" + , css-text = H.callHackage "css-text" "0.1.3.0" , csv = callHorizonAdopted "csv" "d02b89bbad79136b52fd1197f087466cf51573dd" , cursor-brick = H.callHackage "cursor-brick" "0.1.0.1" diff --git a/initial-packages.nix b/initial-packages.nix index c09e0118ab38df76c0a284dbff73f2a5a4b2e6b0..bc09724ce438aeb3bf56d667f2e2d5f87ade5cda 100644 --- a/initial-packages.nix +++ b/initial-packages.nix @@ -285,6 +285,8 @@ self: with pkgs.haskell.lib; { cryptonite-conduit = self.callPackage (./pkgs/cryptonite-conduit.nix) { }; + css-text = self.callPackage (./pkgs/css-text.nix) { }; + csv = self.callPackage (./pkgs/csv.nix) { }; cursor = self.callPackage (./pkgs/cursor.nix) { }; diff --git a/pkgs/css-text.nix b/pkgs/css-text.nix new file mode 100644 index 0000000000000000000000000000000000000000..59b5b7e34440d185b7bf62d39e27664fce44a9cc --- /dev/null +++ b/pkgs/css-text.nix @@ -0,0 +1,22 @@ +{ mkDerivation, QuickCheck, attoparsec, base, hspec, lib, text }: +mkDerivation { + pname = "css-text"; + version = "0.1.3.0"; + sha256 = "5ff507bf3863219f41e7f2d215e5511fe15ee13d1e28bd3ee64e0b0b894bcd7a"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ attoparsec base text ]; + testHaskellDepends = [ attoparsec base hspec QuickCheck text ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/yesodweb/css-text.git#readme"; + description = "CSS parser and renderer"; + license = lib.licenses.mit; + broken = false; +}