pump.io: init at git-2015-11-09
pump.io -- Social server with an ActivityStreams API The version from git master branch is used because released version 0.3 is not compatible with newer versions of nodejs. node-packages.json was extracted from pump.io package.json and augmented with the databank-{lrucache,memcached,mongodb,redis} driver packages. To regenerate, run: npm2nix pkgs/servers/web-apps/pump.io/node-packages.json pkgs/servers/web-apps/pump.io/node-packages.nix
This commit is contained in:
parent
b195abe091
commit
69b0661fa9
68
pkgs/servers/web-apps/pump.io/default.nix
Normal file
68
pkgs/servers/web-apps/pump.io/default.nix
Normal file
@ -0,0 +1,68 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, callPackage, nodejs, python, utillinux, graphicsmagick }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
nodePackages = callPackage (import ../../../top-level/node-packages.nix) {
|
||||
inherit stdenv nodejs fetchurl fetchgit;
|
||||
neededNatives = [ python ] ++ optional stdenv.isLinux utillinux;
|
||||
self = nodePackages;
|
||||
generated = ./node-packages.nix;
|
||||
};
|
||||
|
||||
in nodePackages.buildNodePackage rec {
|
||||
version = "git-2015-11-09";
|
||||
name = "pump.io-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "e14n";
|
||||
repo = "pump.io";
|
||||
rev = "2f8d6b3518607ed02b594aee0db6ccacbe631b2d";
|
||||
sha256 = "1xym3jzpxlni1n2i0ixwrnpkx5fbnd1p6sm1hf9n3w5m2lx6gdw5";
|
||||
};
|
||||
|
||||
deps = (filter (v: nixType v == "derivation") (attrValues nodePackages));
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
for prog in pump pump-authorize pump-follow pump-post-note pump-register-app pump-register-user pump-stop-following; do
|
||||
wrapProgram "$out/bin/$prog" \
|
||||
--set NODE_PATH "$out/lib/node_modules/pump.io/node_modules/" \
|
||||
--prefix PATH : ${graphicsmagick}/bin:$out/bin
|
||||
done
|
||||
'';
|
||||
|
||||
passthru.names = ["pump.io"];
|
||||
|
||||
meta = {
|
||||
description = "Social server with an ActivityStreams API";
|
||||
homepage = http://pump.io/;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.rvl ];
|
||||
longDescription = ''
|
||||
This is pump.io. It's a stream server that does most of what
|
||||
people really want from a social network.
|
||||
|
||||
What's it for?
|
||||
|
||||
I post something and my followers see it. That's the rough idea
|
||||
behind the pump.
|
||||
|
||||
There's an API defined in the API.md file. It uses
|
||||
activitystrea.ms JSON as the main data and command format.
|
||||
|
||||
You can post almost anything that can be represented with
|
||||
activity streams -- short or long text, bookmarks, images,
|
||||
video, audio, events, geo checkins. You can follow friends,
|
||||
create lists of people, and so on.
|
||||
|
||||
The software is useful for at least these scenarios:
|
||||
|
||||
* Mobile-first social networking
|
||||
* Activity stream functionality for an existing app
|
||||
* Experimenting with social software
|
||||
'';
|
||||
};
|
||||
}
|
36
pkgs/servers/web-apps/pump.io/node-packages.json
Normal file
36
pkgs/servers/web-apps/pump.io/node-packages.json
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "pump.io",
|
||||
"dependencies": {
|
||||
"bcrypt": "0.8.x",
|
||||
"bunyan": "0.16.x",
|
||||
"connect": "1.x",
|
||||
"connect-auth": "0.5.3",
|
||||
"connect-databank": "0.13.x",
|
||||
"crypto-cacerts": "0.1.x",
|
||||
"databank": "0.19.x",
|
||||
"databank-lrucache": "^0.1.2",
|
||||
"databank-memcached": "^0.15.0",
|
||||
"databank-mongodb": "^0.18.10",
|
||||
"databank-redis": "^0.19.6",
|
||||
"dateformat": "1.x",
|
||||
"dialback-client": "~0.1.5",
|
||||
"emailjs": "0.3.x",
|
||||
"express": "2.5.x",
|
||||
"gm": "1.9.x",
|
||||
"jankyqueue": "0.1.x",
|
||||
"mkdirp": "0.3.x",
|
||||
"node-uuid": "1.3.x",
|
||||
"oauth-evanp": "~0.9.10-evanp.2",
|
||||
"optimist": "0.3.x",
|
||||
"schlock": "~0.2.1",
|
||||
"set-immediate": "0.1.x",
|
||||
"showdown": "0.3.x",
|
||||
"sockjs": "0.3.x",
|
||||
"step": "0.0.x",
|
||||
"underscore": "1.4.x",
|
||||
"underscore-contrib": "0.1.x",
|
||||
"utml": "0.2.x",
|
||||
"validator": "0.4.x",
|
||||
"webfinger": "~0.4.2"
|
||||
}
|
||||
}
|
2734
pkgs/servers/web-apps/pump.io/node-packages.nix
Normal file
2734
pkgs/servers/web-apps/pump.io/node-packages.nix
Normal file
File diff suppressed because it is too large
Load Diff
@ -9451,6 +9451,8 @@ let
|
||||
|
||||
psqlodbc = callPackage ../servers/sql/postgresql/psqlodbc { };
|
||||
|
||||
pumpio = callPackage ../servers/web-apps/pump.io { };
|
||||
|
||||
pyIRCt = builderDefsPackage (callPackage ../servers/xmpp/pyIRCt) {};
|
||||
|
||||
pyMAILt = builderDefsPackage (callPackage ../servers/xmpp/pyMAILt) {};
|
||||
|
Loading…
Reference in New Issue
Block a user