3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/irc/irssi/fish/default.nix

35 lines
953 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, irssi, gmp, automake, autoconf, libtool, openssl, glib, pkg-config }:
stdenv.mkDerivation rec {
pname = "fish-irssi";
version = "unstable-2013-04-13";
2021-01-15 05:42:41 +00:00
src = fetchFromGitHub {
owner = "falsovsky";
repo = "FiSH-irssi";
rev = "e98156bebd8c150bf100b3a0356e7103bb5c20e6";
sha256 = "0mqq7q3rnkzx4j352g1l8sv3g687d76ikjl9c7g6xw96y91kqvdp";
};
preConfigure = ''
tar xf ${irssi.src}
configureFlags="$configureFlags --with-irssi-source=`pwd`/${irssi.name}"
./regen.sh
'';
installPhase = ''
mkdir -p $out/lib/irssi/modules
cp src/.libs/libfish.so $out/lib/irssi/modules
'';
2021-01-15 05:42:41 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gmp automake autoconf libtool openssl glib ];
2021-01-15 05:42:41 +00:00
meta = {
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];
};
}