gopass-jsonapi: nixfmt; no with lib; in meta.

This commit is contained in:
Doron Behar
2024-11-26 11:20:37 +02:00
parent de7630ccc5
commit 8a46035a29
+18 -11
View File
@@ -1,9 +1,10 @@
{ lib
, makeWrapper
, buildGoModule
, fetchFromGitHub
, installShellFiles
, gopass
{
lib,
makeWrapper,
buildGoModule,
fetchFromGitHub,
installShellFiles,
gopass,
}:
buildGoModule rec {
@@ -21,10 +22,16 @@ buildGoModule rec {
subPackages = [ "." ];
nativeBuildInputs = [ installShellFiles makeWrapper ];
nativeBuildInputs = [
installShellFiles
makeWrapper
];
ldflags = [
"-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}"
"-s"
"-w"
"-X main.version=${version}"
"-X main.commit=${src.rev}"
];
postFixup = ''
@@ -32,12 +39,12 @@ buildGoModule rec {
--prefix PATH : "${gopass.wrapperPath}"
'';
meta = with lib; {
meta = {
description = "Enables communication with gopass via JSON messages";
homepage = "https://github.com/gopasspw/gopass-jsonapi";
changelog = "https://github.com/gopasspw/gopass-jsonapi/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxhbr ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxhbr ];
mainProgram = "gopass-jsonapi";
};
}