2024-07-16 05:42:37 -06:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "picocrypt-cli";
|
2024-11-11 22:17:56 -07:00
|
|
|
version = "2.09";
|
2024-07-16 05:42:37 -06:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Picocrypt";
|
|
|
|
repo = "CLI";
|
|
|
|
rev = version;
|
2024-11-11 22:17:56 -07:00
|
|
|
hash = "sha256-DV+L3s479PqSiqi2xigZWwXVNCdkayD0wCpnlR0TljY=";
|
2024-07-16 05:42:37 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "${src.name}/picocrypt";
|
2024-11-11 22:17:56 -07:00
|
|
|
vendorHash = "sha256-F+t/VL9IzBfz8cfpaw+aEPxTPGUq3SbWbyqPWeLrh6E=";
|
2024-07-16 05:42:37 -06:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
];
|
|
|
|
|
|
|
|
CGO_ENABLED = 1;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command-line interface for Picocrypt";
|
|
|
|
homepage = "https://github.com/Picocrypt/CLI";
|
|
|
|
license = lib.licenses.gpl3Only;
|
|
|
|
maintainers = with lib.maintainers; [ arthsmn ];
|
|
|
|
mainProgram = "picocrypt";
|
|
|
|
};
|
|
|
|
}
|