nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/carbons/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

27 lines
697 B
Nix

{ stdenv, libxml2, pidgin, pkgconfig, fetchFromGitHub } :
stdenv.mkDerivation rec {
pname = "pidgin-carbons";
version = "0.1.3";
src = fetchFromGitHub {
owner = "gkdr";
repo = "carbons";
rev = "v${version}";
sha256 = "05hcqvsirb7gnpfcszsrgal5q7dajl2wdi2dy7c41zgl377syavw";
};
makeFlags = [ "PURPLE_PLUGIN_DIR=$(out)/lib/pidgin" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 pidgin ];
meta = with stdenv.lib; {
homepage = https://github.com/gkdr/carbons;
description = "XEP-0280: Message Carbons plugin for libpurple";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ jb55 ];
};
}