diff --git a/manifest.dhall b/manifest.dhall index 050bf90b2ce2fd5c2e4ee245211c7e4b25b00c75..5d2e01bbfa37c2d969bb02585546bb6686a07f03 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 830a69d117f3976452ff9d16e58201e53eee40f0..d2f4818835d6fa1d9fda2e7d8117305951713afe 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 0000000000000000000000000000000000000000..470daca26fa2caba8677855fcf5af89fe1b92fc8 --- /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; +}