nixpkgs/pkgs/applications/networking/irc/irssi/otr/default.nix

27 lines
768 B
Nix
Raw Normal View History

{ stdenv, fetchurl, fetchFromGitHub, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }:
2013-04-13 16:09:27 +01:00
with stdenv.lib;
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
};
preConfigure = "sh ./bootstrap";
2013-04-13 16:09:27 +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 = {
homepage = https://github.com/cryptodotis/irssi-otr;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
2013-04-13 16:09:27 +01:00
};
}