diff --git a/manifest.dhall b/manifest.dhall index 2fc5ce2f4c57d38787a61b5f66f93d4c72c7f591..31902ccb312b7689745ae164d6423cc88c93089f 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -598,4 +598,5 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "x509-validation" "1.6.12" , callHackage "x509" "1.7.7" , callHackage "xml-conduit" "1.9.1.1" + , callHackage "yaml" "0.11.8.0" ] diff --git a/overlay.nix b/overlay.nix index 338c782de92831c553987f1d589882e9904cf96d..c4fd6081b906055252de15f6fd16b7fae67ad25d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -805,4 +805,6 @@ final: prev: with pkgs.haskell.lib; { xml-conduit = prev.callPackage (./pkgs/xml-conduit.nix) { }; + yaml = prev.callPackage (./pkgs/yaml.nix) { }; + } diff --git a/pkgs/yaml.nix b/pkgs/yaml.nix new file mode 100644 index 0000000000000000000000000000000000000000..6d158dc640cfa8ca3eb8f6ff347c6c35cda552a4 --- /dev/null +++ b/pkgs/yaml.nix @@ -0,0 +1,92 @@ +{ mkDerivation +, aeson +, attoparsec +, base +, base-compat +, bytestring +, conduit +, containers +, directory +, filepath +, hspec +, HUnit +, lib +, libyaml +, mockery +, mtl +, raw-strings-qq +, resourcet +, scientific +, template-haskell +, temporary +, text +, transformers +, unordered-containers +, vector +}: +mkDerivation { + pname = "yaml"; + version = "0.11.8.0"; + sha256 = "f61a4e829bb75e17f5da39ea7b9d8d221a100a0f0cb1258bb9584a1829cd0ae8"; + revision = "2"; + editedCabalFile = "1dix5jm3d380vjr9l6wqz54zk883kilk8rijlvjp6b13mjxwcj1l"; + configureFlags = [ "-fsystem-libyaml" ]; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + aeson + attoparsec + base + bytestring + conduit + containers + directory + filepath + libyaml + mtl + resourcet + scientific + template-haskell + text + transformers + unordered-containers + vector + ]; + testHaskellDepends = [ + aeson + attoparsec + base + base-compat + bytestring + conduit + containers + directory + filepath + hspec + HUnit + libyaml + mockery + mtl + raw-strings-qq + resourcet + scientific + template-haskell + temporary + text + transformers + unordered-containers + vector + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/snoyberg/yaml#readme"; + description = "Support for parsing and rendering YAML documents"; + license = lib.licenses.bsd3; + broken = false; +}