2016-10-04 11:29:09 +01:00
|
|
|
{ stdenv, fetchurl, fetchFromGitHub, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }:
|
2013-04-13 16:09:27 +01:00
|
|
|
|
|
|
|
with stdenv.lib;
|
2013-04-13 17:18:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-11-21 20:54:52 +00:00
|
|
|
name = "irssi-otr-${version}";
|
2017-01-04 16:45:34 +00:00
|
|
|
version = "1.0.2";
|
2015-11-21 20:54:52 +00:00
|
|
|
|
2016-02-12 17:43:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cryptodotis";
|
|
|
|
repo = "irssi-otr";
|
2017-01-04 16:45:34 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0c5wb2lg9q0i1jdhpyb5vpvxaa2xx00gvp3gdk93ix9v68gq1ppp";
|
2013-04-13 16:09:27 +01:00
|
|
|
};
|
|
|
|
|
2013-04-13 17:18:44 +01:00
|
|
|
preConfigure = "sh ./bootstrap";
|
2013-04-13 16:09:27 +01:00
|
|
|
|
2013-04-13 17:18:44 +01:00
|
|
|
buildInputs = [ libotr automake autoconf libtool glib pkgconfig irssi ];
|
2015-11-21 20:54:52 +00:00
|
|
|
|
2017-01-04 16:45:34 +00:00
|
|
|
NIX_CFLAGS_COMPILE="-I ${irssi}/include/irssi -I ${irssi}/include/irssi/src/core -I ${irssi}/include/irssi/src/";
|
|
|
|
|
2013-04-13 16:09:27 +01:00
|
|
|
meta = {
|
2013-04-13 17:18:44 +01:00
|
|
|
homepage = https://github.com/cryptodotis/irssi-otr;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-04-13 16:09:27 +01:00
|
|
|
};
|
|
|
|
}
|