From 55aadddc6ae51dcebf554054dec47f9664e79ba2 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 09:44:51 +0000 Subject: [PATCH] skylighting-core: init at 0.13.1.1 --- manifest.dhall | 1 + overlay.nix | 2 + pkgs/skylighting-core.nix | 89 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 pkgs/skylighting-core.nix diff --git a/manifest.dhall b/manifest.dhall index 050bf90b..5d2e01bb 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -487,6 +487,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "singleton-bool" "0.1.6" , callHackage "singletons" "3.0.2" , callHackage "slugify" "0.1.0.1" + , callHackage "skylighting-core" "0.13.1.1" , callHackage "socks" "0.6.1" , callHackage "some" "1.0.4" , callHackage "sop-core" "0.5.0.1" diff --git a/overlay.nix b/overlay.nix index 830a69d1..d2f48188 100644 --- a/overlay.nix +++ b/overlay.nix @@ -627,6 +627,8 @@ final: prev: with pkgs.haskell.lib; { singletons = prev.callPackage (./pkgs/singletons.nix) { }; + skylighting-core = prev.callPackage (./pkgs/skylighting-core.nix) { }; + slugify = prev.callPackage (./pkgs/slugify.nix) { }; socks = prev.callPackage (./pkgs/socks.nix) { }; diff --git a/pkgs/skylighting-core.nix b/pkgs/skylighting-core.nix new file mode 100644 index 00000000..470daca2 --- /dev/null +++ b/pkgs/skylighting-core.nix @@ -0,0 +1,89 @@ +{ mkDerivation +, aeson +, attoparsec +, base +, base64-bytestring +, binary +, bytestring +, case-insensitive +, colour +, containers +, criterion +, Diff +, directory +, filepath +, lib +, mtl +, pretty-show +, QuickCheck +, safe +, tasty +, tasty-golden +, tasty-hunit +, tasty-quickcheck +, text +, transformers +, utf8-string +, xml-conduit +}: +mkDerivation { + pname = "skylighting-core"; + version = "0.13.1.1"; + sha256 = "dab79d597f3fee1762a72bba69028c361cfbecaaa548155e0b99ab497d662933"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + aeson + attoparsec + base + base64-bytestring + binary + bytestring + case-insensitive + colour + containers + directory + filepath + mtl + safe + text + transformers + utf8-string + xml-conduit + ]; + testHaskellDepends = [ + aeson + base + bytestring + containers + Diff + directory + filepath + pretty-show + QuickCheck + tasty + tasty-golden + tasty-hunit + tasty-quickcheck + text + ]; + benchmarkHaskellDepends = [ + base + containers + criterion + filepath + text + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/jgm/skylighting"; + description = "syntax highlighting library"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab