mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #202926 from Flakebi/maddy
maddy: enable pam support
This commit is contained in:
commit
cbccfdd60b
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub, coreutils, installShellFiles, scdoc, nixosTests }:
|
{ lib, buildGoModule, fetchFromGitHub, pam, coreutils, installShellFiles, scdoc, nixosTests }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "maddy";
|
pname = "maddy";
|
||||||
@ -13,10 +13,14 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorSha256 = "sha256-10cLNl9jWYX8XIKQkCxJ+/ymZC1YJRHUJWZQhq7zeV4=";
|
vendorSha256 = "sha256-10cLNl9jWYX8XIKQkCxJ+/ymZC1YJRHUJWZQhq7zeV4=";
|
||||||
|
|
||||||
|
tags = [ "libpam" ];
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X github.com/foxcpp/maddy.Version=${version}" ];
|
ldflags = [ "-s" "-w" "-X github.com/foxcpp/maddy.Version=${version}" ];
|
||||||
|
|
||||||
subPackages = [ "cmd/maddy" ];
|
subPackages = [ "cmd/maddy" ];
|
||||||
|
|
||||||
|
buildInputs = [ pam ];
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles scdoc ];
|
nativeBuildInputs = [ installShellFiles scdoc ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user