2022-11-21 17:40:18 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "element";
|
2022-11-02 22:02:43 +00:00
|
|
|
version = "1.0.1";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gennaro-tedesco";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-11-02 22:02:43 +00:00
|
|
|
sha256 = "sha256-06RDZnie0Lv7i95AwnBGl6PPucuj8pIT6DHW3e3mu1o=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
vendorSha256 = "sha256-A4g2rQTaYrA4/0rqldUv7iuibzNINEvx9StUnaN2/Yg=";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The periodic table on the command line";
|
|
|
|
homepage = "https://github.com/gennaro-tedesco/element";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.j0hax ];
|
2022-11-21 17:40:18 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|