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
30 lines
659 B
Nix
30 lines
659 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "element";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gennaro-tedesco";
|
|
repo = "element";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-06RDZnie0Lv7i95AwnBGl6PPucuj8pIT6DHW3e3mu1o=";
|
|
};
|
|
|
|
vendorHash = "sha256-A4g2rQTaYrA4/0rqldUv7iuibzNINEvx9StUnaN2/Yg=";
|
|
|
|
meta = with lib; {
|
|
description = "Periodic table on the command line";
|
|
mainProgram = "element";
|
|
homepage = "https://github.com/gennaro-tedesco/element";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.j0hax ];
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|