mailpit: move to pkgs/by-name

Changed files
+4 -4
pkgs
by-name
top-level
+4 -1
pkgs/servers/mail/mailpit/default.nix pkgs/by-name/ma/mailpit/package.nix
···
nodejs,
python3,
libtool,
+
cctools,
npmHooks,
fetchFromGitHub,
fetchNpmDeps,
···
hash = source.hash;
};
+
libtool' = if stdenv.hostPlatform.isDarwin then cctools else libtool;
+
# Separate derivation, because if we mix this in buildGoModule, the separate
# go-modules build inherits specific attributes and fails. Getting that to
# work is hackier than just splitting the build.
···
nativeBuildInputs = [
nodejs
python3
-
libtool
+
libtool'
npmHooks.npmConfigHook
];
pkgs/servers/mail/mailpit/source.nix pkgs/by-name/ma/mailpit/source.nix
pkgs/servers/mail/mailpit/update.sh pkgs/by-name/ma/mailpit/update.sh
-3
pkgs/top-level/all-packages.nix
···
};
};
mailnagWithPlugins = mailnag.withPlugins (builtins.attrValues mailnag.availablePlugins);
-
mailpit = callPackage ../servers/mail/mailpit {
-
libtool = if stdenv.hostPlatform.isDarwin then cctools else libtool;
-
};
man = man-db;