1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

31 lines
772 B
Nix

{ fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkgconfig, glib, libgcrypt }:
with stdenv.lib;
stdenv.mkDerivation rec {
version = "1.4.2";
pname = "bitlbee-steam";
src = fetchFromGitHub {
rev = "v${version}";
owner = "bitlbee";
repo = "bitlbee-steam";
sha256 = "121r92mgwv445wwxzh35n19fs5k81ihr0j19k256ia5502b1xxaq";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ bitlbee autoconf automake libtool glib libgcrypt ];
preConfigure = ''
export BITLBEE_PLUGINDIR=$out/lib/bitlbee
./autogen.sh
'';
meta = {
description = "Steam protocol plugin for BitlBee";
homepage = https://github.com/jgeboski/bitlbee-steam;
license = licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
}