1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, openssl, irssi }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2021-04-16";
7 src = fetchFromGitHub {
10 rev = "fcc484f09ce6941ba2e499605270593ddd13b81a";
11 hash = "sha256-KIPnz17a0CFfoPO2dZz90j+wG/dR4pv5d0iZMRf7Vkc=";
14 patches = [ ./irssi-include-dir.patch ];
16 nativeBuildInputs = [ cmake pkg-config ];
18 buildInputs = [ glib openssl ];
20 cmakeFlags = [ "-DIRSSI_INCLUDE_PATH:PATH=${irssi}/include" ];
23 homepage = "https://github.com/falsovsky/FiSH-irssi";
24 license = licenses.mit;
26 platforms = platforms.unix;