diff --git a/manifest.dhall b/manifest.dhall index 7d4eec37b307b6681cbd1d4cbeea46998736e5e7..64287e6d831203f4539a9809b8fbb6448ea79eac 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -240,4 +240,5 @@ in [ callHackage "HTF" "0.15.0.0" "https://github.com/milloni/plutus" (Some "81cd1ada745c12af2c2c28afce1f6b6b28b38fdd") (Some "word-array") + , callHackage "xmlgen" "0.6.2.2" ] diff --git a/overlay.nix b/overlay.nix index ec335959e4f8fa5326888fb7ca6e6683771a5fdf..1d2d2aef9eca168b148120447896fd3d66535367 100644 --- a/overlay.nix +++ b/overlay.nix @@ -165,4 +165,6 @@ final: prev: with pkgs.haskell.lib; { word-array = prev.callPackage (./pkgs/word-array.nix) { }; + xmlgen = prev.callPackage (./pkgs/xmlgen.nix) { }; + } diff --git a/pkgs/xmlgen.nix b/pkgs/xmlgen.nix new file mode 100644 index 0000000000000000000000000000000000000000..b5cd68828dd735033c61a41d44857ec886260977 --- /dev/null +++ b/pkgs/xmlgen.nix @@ -0,0 +1,57 @@ +{ mkDerivation +, base +, blaze-builder +, bytestring +, containers +, criterion +, filepath +, HUnit +, hxt +, lib +, mtl +, process +, QuickCheck +, text +, unix +}: +mkDerivation { + pname = "xmlgen"; + version = "0.6.2.2"; + sha256 = "926fa98c77525f5046274758fcebd190e86de3f53a4583179e8ce328f25a34d6"; + revision = "1"; + editedCabalFile = "0vwnqd0lsw81llsn0psga5r6pw7jh69vfbj3rnz7c2fpkc0gjh3j"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + blaze-builder + bytestring + containers + mtl + text + ]; + testHaskellDepends = [ + base + bytestring + containers + filepath + HUnit + hxt + process + QuickCheck + text + unix + ]; + benchmarkHaskellDepends = [ base bytestring criterion text ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "Fast XML generation library"; + license = lib.licenses.bsd3; + broken = false; +}