From 7b033beff55c275d489d59c21d2d54848cfea5d0 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 18:36:56 +0000 Subject: [PATCH] postgres-options: init at 0.2.0.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/postgres-options.nix | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 pkgs/postgres-options.nix diff --git a/manifest.dhall b/manifest.dhall index a9c6cac8..53d1c264 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 bcad996c..f5917cb1 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 00000000..c7188a3d --- /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; +} -- GitLab