mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
34 lines
982 B
Nix
34 lines
982 B
Nix
{ stdenv, fetchFromGitHub, cmake, bison, flex, pkgconfig, openssl, pcre
|
|
, libmilter, opendkim, libmemcached, glib }:
|
|
|
|
let patchedLibmilter = stdenv.lib.overrideDerivation libmilter (_ : {
|
|
patches = libmilter.patches ++ [ ./fd-passing-libmilter.patch ];
|
|
});
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rmilter-${version}";
|
|
version = "1.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vstakhov";
|
|
repo = "rmilter";
|
|
rev = version;
|
|
sha256 = "1gbp6jah88l6xqgflim01ycyp63l733bgir65fxnnrmifj1qzymh";
|
|
};
|
|
|
|
nativeBuildInputs = [ bison cmake flex pkgconfig ];
|
|
buildInputs = [ libmemcached patchedLibmilter openssl pcre opendkim glib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/vstakhov/rmilter;
|
|
license = licenses.asl20;
|
|
description = ''
|
|
Daemon to integrate rspamd and milter compatible MTA, for example
|
|
postfix or sendmail
|
|
'';
|
|
maintainers = with maintainers; [ avnik fpletz ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|