depot/third_party/nixpkgs/pkgs/applications/science/chemistry/element/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 lines
633 B
Nix

{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "element";
version = "1.0.1";
src = fetchFromGitHub {
owner = "gennaro-tedesco";
repo = pname;
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.isDarwin;
};
}