Merge pull request #267180 from gaelreyrol/mailpit-update-1.10.0

mailpit: 1.9.9 -> 1.10.0

authored by Weijia Wang and committed by GitHub 8a04a88c 32a8f4c4

+12 -4
+12 -4
pkgs/servers/mail/mailpit/default.nix
··· 7 , npmHooks 8 , fetchFromGitHub 9 , fetchNpmDeps 10 }: 11 12 let 13 14 - version = "1.9.9"; 15 16 src = fetchFromGitHub { 17 owner = "axllent"; 18 repo = "mailpit"; 19 rev = "v${version}"; 20 - hash = "sha256-WPfr1LHOgOFsF2g3junJ0km0gOk/LC52jekJ8BXlqP0="; 21 }; 22 23 # Separate derivation, because if we mix this in buildGoModule, the separate ··· 29 30 npmDeps = fetchNpmDeps { 31 inherit src; 32 - hash = "sha256-RaXD+WfNywItveKzc+KWOw38H1EZ2yukgbMrtOfPSJc="; 33 }; 34 35 nativeBuildInputs = [ nodejs python3 libtool npmHooks.npmConfigHook ]; ··· 49 pname = "mailpit"; 50 inherit src version; 51 52 - vendorHash = "sha256-akt72aBoiQKp1Hxf3NgzSmfgmsnjpheIh62lPCTyHBs="; 53 54 CGO_ENABLED = 0; 55 ··· 58 preBuild = '' 59 cp -r ${ui} server/ui/dist 60 ''; 61 62 meta = with lib; { 63 description = "An email and SMTP testing tool with API for developers";
··· 7 , npmHooks 8 , fetchFromGitHub 9 , fetchNpmDeps 10 + , testers 11 + , mailpit 12 }: 13 14 let 15 16 + version = "1.10.0"; 17 18 src = fetchFromGitHub { 19 owner = "axllent"; 20 repo = "mailpit"; 21 rev = "v${version}"; 22 + hash = "sha256-MrhTgyY89rU2EQILRSFJk8U7QWaoUf2p83ksFjA7xOM="; 23 }; 24 25 # Separate derivation, because if we mix this in buildGoModule, the separate ··· 31 32 npmDeps = fetchNpmDeps { 33 inherit src; 34 + hash = "sha256-r4yv2qImIlNMPJagz5i1sxqBDnFAucc2kDUmjGktM6A="; 35 }; 36 37 nativeBuildInputs = [ nodejs python3 libtool npmHooks.npmConfigHook ]; ··· 51 pname = "mailpit"; 52 inherit src version; 53 54 + vendorHash = "sha256-TXa97oOul9cf07uNGdIoxIM++da5HBFeoh05LaJzQTA="; 55 56 CGO_ENABLED = 0; 57 ··· 60 preBuild = '' 61 cp -r ${ui} server/ui/dist 62 ''; 63 + 64 + passthru.tests.version = testers.testVersion { 65 + inherit version; 66 + package = mailpit; 67 + command = "mailpit version"; 68 + }; 69 70 meta = with lib; { 71 description = "An email and SMTP testing tool with API for developers";