mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Adding irssi-otr.
This commit is contained in:
parent
4837874840
commit
5f2a1806e5
33
pkgs/applications/networking/irc/irssi/otr/default.nix
Normal file
33
pkgs/applications/networking/irc/irssi/otr/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchgit, cmake, pkgconfig, glib, python, libgcrypt, libotr
|
||||
, withIrssi ? true, irssi }:
|
||||
|
||||
let
|
||||
rev = "9ea5cc4e2e41";
|
||||
in
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation {
|
||||
name = "irssi-otr-20120915-${rev}";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://git.tuxfamily.org/gitroot/irssiotr/irssiotr.git;
|
||||
inherit rev;
|
||||
sha256 = "19zwxiy6h8n6zblqlcy6y9xyixp1yw2k8792rffsaaczjc5lpbvk";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
cp LICENSE README irssi
|
||||
'';
|
||||
|
||||
cmakeFlags = "-DIRCOTR_VERSION=mydistro-git-${rev}" +
|
||||
optionalString withIrssi " -DWANT_IRSSI=ON -DIRSSI_INCLUDE_DIR=${irssi}/include";
|
||||
|
||||
nativeBuildInputs = [ python ];
|
||||
|
||||
buildInputs = [ cmake pkgconfig glib libgcrypt libotr ];
|
||||
|
||||
meta = {
|
||||
homepage = http://irssi-otr.tuxfamily.org/;
|
||||
license = "GPLv2+";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
};
|
||||
}
|
@ -7310,6 +7310,8 @@ let
|
||||
|
||||
irssi_fish = callPackage ../applications/networking/irc/irssi/fish { };
|
||||
|
||||
irssi_otr = callPackage ../applications/networking/irc/irssi/otr { };
|
||||
|
||||
bip = callPackage ../applications/networking/irc/bip { };
|
||||
|
||||
jack_capture = callPackage ../applications/audio/jack-capture { };
|
||||
|
Loading…
Reference in New Issue
Block a user