mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
34 lines
689 B
Nix
34 lines
689 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "picocrypt-cli";
|
|
version = "2.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Picocrypt";
|
|
repo = "CLI";
|
|
rev = version;
|
|
hash = "sha256-6/VmacOXQOCkjLFyzDPyohOueF3WKJu7XCAD9oiFXEc=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/picocrypt";
|
|
vendorHash = "sha256-QIeuqdoC17gqxFgKJ/IU024dgofBCizWTj2S7CCmED4=";
|
|
|
|
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";
|
|
};
|
|
}
|