forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
27 lines
697 B
Nix
27 lines
697 B
Nix
{ lib, stdenv, fetchurl, pkg-config, gnutls, gsasl, libidn, Security }:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mpop";
|
|
version = "1.4.11";
|
|
|
|
src = fetchurl {
|
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
|
sha256 = "1gcxvhin5y0q47svqbf90r5aip0cgywm8sq6m84ygda7km8xylwv";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ gnutls gsasl libidn ]
|
|
++ optional stdenv.isDarwin Security;
|
|
|
|
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
|
|
|
meta = {
|
|
description = "POP3 mail retrieval agent";
|
|
homepage = "https://marlam.de/mpop";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|