Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
764 B
Nix
39 lines
764 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "der-ascii";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "der-ascii";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xGzxq5AHvzLUOp9VUcI9JMwrCpVIrpDvenWUOEBP6pA=";
|
|
};
|
|
vendorHash = null;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = ''
|
|
Small human-editable language to emit DER or BER encodings of ASN.1
|
|
structures and malformed variants of them
|
|
'';
|
|
homepage = "https://github.com/google/der-ascii";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [
|
|
alexshpilkin
|
|
cpu
|
|
hawkw
|
|
];
|
|
mainProgram = "ascii2der"; # has stable output, unlike its inverse
|
|
};
|
|
}
|