mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #268002 from Gigahawk/xmpp-bridge
xmpp-bridge: init at 0.6.0
This commit is contained in:
commit
92de9c5b32
|
@ -6779,6 +6779,12 @@
|
||||||
githubId = 127353;
|
githubId = 127353;
|
||||||
name = "Geoffrey Huntley";
|
name = "Geoffrey Huntley";
|
||||||
};
|
};
|
||||||
|
gigahawk = {
|
||||||
|
email = "Jasper Chan";
|
||||||
|
name = "jasperchan515@gmail.com";
|
||||||
|
github = "Gigahawk";
|
||||||
|
githubId = 10356230;
|
||||||
|
};
|
||||||
gigglesquid = {
|
gigglesquid = {
|
||||||
email = "jack.connors@protonmail.com";
|
email = "jack.connors@protonmail.com";
|
||||||
github = "gigglesquid";
|
github = "gigglesquid";
|
||||||
|
|
49
pkgs/by-name/xm/xmpp-bridge/package.nix
Normal file
49
pkgs/by-name/xm/xmpp-bridge/package.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, stdenv
|
||||||
|
, pkg-config
|
||||||
|
, libstrophe
|
||||||
|
, installShellFiles
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "xmpp-bridge";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "majewsky";
|
||||||
|
repo = "xmpp-bridge";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-JXhVi2AiV/PmWPfoQJl/N92GAZQ9UxReAiCkiDxgdFY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libstrophe
|
||||||
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
# Makefile is hardcoded to install to /usr, install manually
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D -m 0755 build/xmpp-bridge "$out/bin/xmpp-bridge"
|
||||||
|
installManPage xmpp-bridge.1
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Connect command-line programs to XMPP";
|
||||||
|
homepage = "https://github.com/majewsky/xmpp-bridge";
|
||||||
|
license = lib.licenses.gpl3Plus;
|
||||||
|
mainProgram = "xmpp-bridge";
|
||||||
|
maintainers = with lib.maintainers; [ gigahawk ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue