mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
vsmtp: fix build
This commit is contained in:
parent
513a26c7c7
commit
94d3d94a57
1 changed files with 11 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, testers
|
, testers
|
||||||
, vsmtp
|
, vsmtp
|
||||||
|
@ -17,6 +18,16 @@ rustPlatform.buildRustPackage rec {
|
||||||
hash = "sha256-uyu2NpHFDqJDcfQukG6TdRH7KuZnrYTULvLiABdvAog=";
|
hash = "sha256-uyu2NpHFDqJDcfQukG6TdRH7KuZnrYTULvLiABdvAog=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/viridIT/vSMTP/pull/952
|
||||||
|
# treewide: set GIT_HASH to unknown if git rev-parse HEAD fails
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/viridIT/vSMTP/commit/0ac4820c079e459f515825dfb451980119eaae9e.patch";
|
||||||
|
includes = [ "src/vsmtp/vsmtp-core/build.rs" "src/vqueue/build.rs" ];
|
||||||
|
hash = "sha256-kGjXsVokP6039rksaxw1EM/0zOlKIus1EaIEsFJvLE8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
cargoHash = "sha256-A0Q6ciZJL13VzJgZIWZalrRElSNGHUN/9b8Csj4Tdak=";
|
cargoHash = "sha256-A0Q6ciZJL13VzJgZIWZalrRElSNGHUN/9b8Csj4Tdak=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
Loading…
Reference in a new issue