summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/bitlbee-steam.nix
blob: d869eaac596804e6d50732c9260870f8699103b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchgit, autoconf, automake, bitlbee-dev, glib, libgcrypt, libtool, pkgconfig }:

stdenv.mkDerivation rec {
  name = "bitlbee-steam-1.3.1";

  src = fetchgit {
    url = "https://github.com/jgeboski/bitlbee-steam";
    rev = "439d777c7e8d06712ffc15c3e51d61799f4c0d0c";
    sha256 = "493924da1083a3b23073c595a9e1989a7ae09a196524ad66ca99c4d8ccc20d2a";
  };

  buildInputs = [
    autoconf
    automake
    bitlbee-dev
    glib
    libgcrypt
    libtool
    pkgconfig
  ];

  configurePhase = ''
    ./autogen.sh
  '';

  installPhase = ''
    mkdir -p $out
    cp steam/.libs/steam.la $out/
    cp steam/.libs/steam.so $out/
  '';
}