mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 10:56:56 +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
32 lines
896 B
Nix
32 lines
896 B
Nix
{ stdenv, fetchurl, pkgconfig, libbsd, openssl, libmilter
|
|
, perl, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "opendkim-${version}";
|
|
version = "2.10.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/opendkim/files/${name}.tar.gz";
|
|
sha256 = "06v8bqhh604sz9rh5bvw278issrwjgc4h1wx2pz9a84lpxbvm823";
|
|
};
|
|
|
|
configureFlags= [ "--with-milter=${libmilter}" ];
|
|
|
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
|
|
|
buildInputs = [ libbsd openssl libmilter perl ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/sbin/opendkim-genkey \
|
|
--prefix PATH : ${openssl.bin}/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C library for producing DKIM-aware applications and an open source milter for providing DKIM service";
|
|
homepage = http://www.opendkim.org/;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|