mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
30 lines
775 B
Nix
30 lines
775 B
Nix
{ stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.5.3";
|
|
pname = "loudmouth";
|
|
|
|
src = fetchurl {
|
|
url = "https://mcabber.com/files/loudmouth/${pname}-${version}.tar.bz2";
|
|
sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
|
|
};
|
|
|
|
patches = [
|
|
];
|
|
|
|
configureFlags = [ "--with-ssl=openssl" ];
|
|
|
|
propagatedBuildInputs = [ openssl libidn glib zlib ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A lightweight C library for the Jabber protocol";
|
|
platforms = platforms.linux;
|
|
downloadPage = "http://mcabber.com/files/loudmouth/";
|
|
downloadURLRegexp = "loudmouth-[0-9.]+[.]tar[.]bz2$";
|
|
updateWalker = true;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|