From 1e6589d562589db798d11528c6b91188a0b9bd32 Mon Sep 17 00:00:00 2001 From: Dom Brown <dom.brown@platonic.systems> Date: Wed, 19 Oct 2022 14:09:39 +0100 Subject: [PATCH] autodocodec-servant-multipart: init at 0.0.0.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/autodocodec-servant-multipart.nix | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 pkgs/autodocodec-servant-multipart.nix diff --git a/manifest.dhall b/manifest.dhall index b40d61f7..848d7c16 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -76,6 +76,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "async" "2.2.4" , callHackage "autodocodec" "0.2.0.1" , callHackage "autodocodec-schema" "0.1.0.2" + , callHackage "autodocodec-servant-multipart" "0.0.0.0" , callHackage "autodocodec-yaml" "0.2.0.2" , callHackage "basement" "0.0.15" , callHackage "base64" "0.4.2.4" diff --git a/overlay.nix b/overlay.nix index d956cb10..560e2fe1 100644 --- a/overlay.nix +++ b/overlay.nix @@ -35,6 +35,8 @@ final: prev: with pkgs.haskell.lib; { autodocodec-schema = prev.callPackage (./pkgs/autodocodec-schema.nix) { }; + autodocodec-servant-multipart = prev.callPackage (./pkgs/autodocodec-servant-multipart.nix) { }; + autodocodec-yaml = prev.callPackage (./pkgs/autodocodec-yaml.nix) { }; base-compat = prev.callPackage (./pkgs/base-compat.nix) { }; diff --git a/pkgs/autodocodec-servant-multipart.nix b/pkgs/autodocodec-servant-multipart.nix new file mode 100644 index 00000000..70cf395a --- /dev/null +++ b/pkgs/autodocodec-servant-multipart.nix @@ -0,0 +1,20 @@ +{ mkDerivation, aeson, autodocodec, base, bytestring, lib +, servant-multipart, servant-multipart-api, text +, unordered-containers, vector +}: +mkDerivation { + pname = "autodocodec-servant-multipart"; + version = "0.0.0.0"; + sha256 = "fa0983ebc5d83ec0d510542adf4004011cb204aab0719428fc5bb70b8b4a5fdf"; + libraryHaskellDepends = [ + aeson autodocodec base bytestring servant-multipart + servant-multipart-api text unordered-containers vector + ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "https://github.com/NorfairKing/autodocodec#readme"; + description = "Autodocodec interpreters for Servant Multipart"; + license = lib.licenses.mit; +} \ No newline at end of file -- GitLab