nixpkgs/pkgs/by-name/el/element/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
646 B
Nix
Raw Normal View History

2022-11-14 02:16:43 +00:00
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
2021-06-20 22:20:26 +00:00
buildGoModule rec {
pname = "element";
2022-11-01 18:43:56 +00:00
version = "1.0.1";
2021-06-20 22:20:26 +00:00
src = fetchFromGitHub {
owner = "gennaro-tedesco";
repo = pname;
rev = "v${version}";
2022-11-01 18:43:56 +00:00
sha256 = "sha256-06RDZnie0Lv7i95AwnBGl6PPucuj8pIT6DHW3e3mu1o=";
2021-06-20 22:20:26 +00:00
};
vendorHash = "sha256-A4g2rQTaYrA4/0rqldUv7iuibzNINEvx9StUnaN2/Yg=";
2021-06-20 22:20:26 +00:00
meta = with lib; {
description = "Periodic table on the command line";
mainProgram = "element";
2021-06-20 22:20:26 +00:00
homepage = "https://github.com/gennaro-tedesco/element";
license = licenses.asl20;
maintainers = [ maintainers.j0hax ];
2022-11-14 02:16:43 +00:00
broken = stdenv.hostPlatform.isDarwin;
2021-06-20 22:20:26 +00:00
};
}