diff --git a/manifest.dhall b/manifest.dhall index a9c6cac82576799452ffb46a47d4a7a736cae7ed..53d1c264da572b098d58bda3a8d9f35f5af24ff9 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -604,6 +604,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "postgresql-migration" "0.2.1.4" , callHackage "postgresql-simple" "0.6.4" , callHackage "postgresql-simple-migration" "0.1.15.0" + , callHackage "postgres-options" "0.2.0.0" , callHackage "pretty-hex" "1.1" , callHackage "pretty-show" "1.10" , callHackage "pretty-simple" "4.1.1.0" diff --git a/overlay.nix b/overlay.nix index bcad996c3f2a80583a37e137b7f50f2d430cc64d..f5917cb1485faa95f1bd05ca6bc3862026ecc78a 100644 --- a/overlay.nix +++ b/overlay.nix @@ -925,6 +925,8 @@ self: with pkgs.haskell.lib; { port-utils = self.callPackage (./pkgs/port-utils.nix) { }; + postgres-options = self.callPackage (./pkgs/postgres-options.nix) { }; + postgresql-libpq = self.callPackage (./pkgs/postgresql-libpq.nix) { }; postgresql-migration = self.callPackage (./pkgs/postgresql-migration.nix) { }; diff --git a/pkgs/postgres-options.nix b/pkgs/postgres-options.nix new file mode 100644 index 0000000000000000000000000000000000000000..c7188a3dd7c1eb01e2b4cb9a79234197a58df19e --- /dev/null +++ b/pkgs/postgres-options.nix @@ -0,0 +1,36 @@ +{ mkDerivation +, base +, bytestring +, generic-monoid +, hspec +, lib +, split +, uri-bytestring +}: +mkDerivation { + pname = "postgres-options"; + version = "0.2.0.0"; + sha256 = "c45f459abcc797d0707c1931301434037acdfada33e47c843f219cf35609d9b5"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + generic-monoid + split + uri-bytestring + ]; + testHaskellDepends = [ base hspec ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/jfischoff/postgres-options#readme"; + description = "An Options type representing options for postgres connections"; + license = lib.licenses.bsd3; + broken = false; +}