summary refs log tree commit diff
path: root/pkgs/tools/networking/cjdns/default.nix
blob: 48e21f4507e5b51ec1fdecc5a73e51ff9c26ba12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchgit, nodejs, which, python27 }:

let
  date = "20140303";
  rev = "f11ce1fd4795b0173ac0ef18c8a6f752aa824adb";
in
stdenv.mkDerivation {
  name = "cjdns-${date}-${stdenv.lib.strings.substring 0 7 rev}";

  src = fetchgit {
    url = "git://github.com/cjdelisle/cjdns.git";
    inherit rev;
    sha256 = "1bxhf9f1v0slf9mz3ll6jf45mkwvwxlf3yqxx9k23kjyr1nsc8s8";
  };

  buildInputs = [ which python27 nodejs];

  builder = ./builder.sh;

  meta = {
    homepage = https://github.com/cjdelisle/cjdns;
    description = "Encrypted networking for regular people";
    license = stdenv.lib.licenses.gpl3;
    maintainers = with stdenv.lib.maintainers; [ viric emery ];
    platforms = stdenv.lib.platforms.linux;
  };
}