2021-07-12 11:46:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, irssi, gmp, automake, autoconf, libtool, openssl, glib, pkg-config }:
|
2013-04-13 00:35:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-12 11:46:13 +01:00
|
|
|
pname = "fish-irssi";
|
|
|
|
version = "unstable-2013-04-13";
|
2021-01-15 05:42:41 +00:00
|
|
|
|
2021-07-12 11:46:13 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "falsovsky";
|
|
|
|
repo = "FiSH-irssi";
|
|
|
|
rev = "e98156bebd8c150bf100b3a0356e7103bb5c20e6";
|
|
|
|
sha256 = "0mqq7q3rnkzx4j352g1l8sv3g687d76ikjl9c7g6xw96y91kqvdp";
|
2013-04-13 00:35:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
tar xf ${irssi.src}
|
|
|
|
configureFlags="$configureFlags --with-irssi-source=`pwd`/${irssi.name}"
|
|
|
|
|
|
|
|
./regen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p $out/lib/irssi/modules
|
2013-04-13 00:35:16 +01:00
|
|
|
cp src/.libs/libfish.so $out/lib/irssi/modules
|
|
|
|
'';
|
2021-01-15 05:42:41 +00:00
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ gmp automake autoconf libtool openssl glib ];
|
2021-01-15 05:42:41 +00:00
|
|
|
|
2013-04-13 00:35:16 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/falsovsky/FiSH-irssi";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.unfree; # I can't find any mention of license
|
|
|
|
maintainers = with lib.maintainers; [viric];
|
2013-04-13 00:35:16 +01:00
|
|
|
};
|
|
|
|
}
|