2014-03-23 02:38:04 +01:00
|
|
|
{ stdenv, fetchgit, nodejs, which, python27 }:
|
2013-06-20 20:52:58 +02:00
|
|
|
|
|
|
|
let
|
2014-03-23 02:38:04 +01:00
|
|
|
date = "20140303";
|
|
|
|
rev = "f11ce1fd4795b0173ac0ef18c8a6f752aa824adb";
|
2013-06-20 20:52:58 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2014-03-23 02:38:04 +01:00
|
|
|
name = "cjdns-${date}-${stdenv.lib.strings.substring 0 7 rev}";
|
2013-06-20 20:52:58 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
2014-03-23 02:38:04 +01:00
|
|
|
url = "git://github.com/cjdelisle/cjdns.git";
|
2013-06-20 20:52:58 +02:00
|
|
|
inherit rev;
|
2014-03-23 02:38:04 +01:00
|
|
|
sha256 = "1bxhf9f1v0slf9mz3ll6jf45mkwvwxlf3yqxx9k23kjyr1nsc8s8";
|
2013-06-20 20:52:58 +02:00
|
|
|
};
|
|
|
|
|
2014-03-23 02:38:04 +01:00
|
|
|
buildInputs = [ which python27 nodejs];
|
2013-06-20 20:52:58 +02:00
|
|
|
|
2014-03-23 02:38:04 +01:00
|
|
|
builder = ./builder.sh;
|
2013-06-20 20:52:58 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/cjdelisle/cjdns;
|
|
|
|
description = "Encrypted networking for regular people";
|
2014-03-23 02:38:04 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric emery ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-06-20 20:52:58 +02:00
|
|
|
};
|
|
|
|
}
|