From c029b753f3db4f2c13697444470995c5bb79bab7 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 09:38:25 +0000 Subject: [PATCH] yaml: init at 0.11.8.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/yaml.nix | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 pkgs/yaml.nix diff --git a/manifest.dhall b/manifest.dhall index 2fc5ce2f..31902ccb 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 338c782d..c4fd6081 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 00000000..6d158dc6 --- /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; +} -- GitLab