nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 stdenv,
5 bitlbee,
6 autoconf,
7 automake,
8 libtool,
9 pkg-config,
10 libgcrypt,
11}:
12
13stdenv.mkDerivation (finalAttrs: {
14 version = "1.4.2";
15 pname = "bitlbee-steam";
16
17 src = fetchFromGitHub {
18 rev = "v${finalAttrs.version}";
19 owner = "bitlbee";
20 repo = "bitlbee-steam";
21 sha256 = "121r92mgwv445wwxzh35n19fs5k81ihr0j19k256ia5502b1xxaq";
22 };
23
24 nativeBuildInputs = [
25 pkg-config
26 autoconf
27 automake
28 ];
29 buildInputs = [
30 bitlbee
31 libtool
32 libgcrypt
33 ];
34
35 preConfigure = ''
36 export BITLBEE_PLUGINDIR=$out/lib/bitlbee
37 ./autogen.sh
38 '';
39
40 meta = {
41 description = "Steam protocol plugin for BitlBee";
42
43 homepage = "https://github.com/jgeboski/bitlbee-steam";
44 license = lib.licenses.gpl2Plus;
45 platforms = lib.platforms.linux;
46 };
47})