about summary refs log tree commit diff
path: root/pkgs/applications/misc/pgmanage
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2017-11-02 20:35:05 +0100
committerBas van Dijk <v.dijk.bas@gmail.com>2017-11-03 00:14:00 +0100
commitc8943272153d1ad5c7dd1329bf0045f2834d52dd (patch)
tree49ebd22141a87c9fce11f5a918e2c87307baced3 /pkgs/applications/misc/pgmanage
parent37c7bb42668949ebd0cddf3d85458db8763900f5 (diff)
postage: replaced by pgmanage-10.0.2
postage is no longer maintained and has been replaced by the identical pgmanage. See:

https://github.com/workflowproducts/postage#postage-has-been-replaced-with-pgmanage

The following error is raised when a user enables the deprecated `services.postage.enable` option:

Failed assertions:
- services.postage is deprecated in favor of pgmanage. They have the same options so just substitute postage for pgmanage.
Diffstat (limited to 'pkgs/applications/misc/pgmanage')
-rw-r--r--pkgs/applications/misc/pgmanage/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/misc/pgmanage/default.nix b/pkgs/applications/misc/pgmanage/default.nix
new file mode 100644
index 0000000000000..fd66ce8fc31cf
--- /dev/null
+++ b/pkgs/applications/misc/pgmanage/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, runCommand, postgresql, openssl } :
+
+stdenv.mkDerivation rec {
+  name = "pgmanage-${version}";
+  version = "10.0.2";
+
+  src = fetchFromGitHub {
+    owner  = "pgManage";
+    repo   = "pgManage";
+    rev    = "v${version}";
+    sha256 = "0g9kvhs9b6kc1s7j90fqv71amiy9v0w5p906yfvl0j7pf3ayq35a";
+  };
+
+  buildInputs = [ postgresql openssl ];
+
+  meta = with stdenv.lib; {
+    description = "A fast replacement for PGAdmin";
+    longDescription = ''
+      At the heart of Postage is a modern, fast, event-based C-binary, built in
+      the style of NGINX and Node.js. This heart makes Postage as fast as any
+      PostgreSQL interface can hope to be.
+    '';
+    homepage = https://github.com/pgManage/pgManage;
+    license = licenses.postgresql;
+    maintainers = [ maintainers.basvandijk ];
+  };
+}