nixpkgs/pkgs/applications/science/chemistry/element/default.nix

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

24 lines
610 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
};
2022-11-01 18:43:56 +00:00
vendorSha256 = "sha256-A4g2rQTaYrA4/0rqldUv7iuibzNINEvx9StUnaN2/Yg=";
2021-06-20 22:20:26 +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-14 02:16:43 +00:00
broken = stdenv.isDarwin;
2021-06-20 22:20:26 +00:00
};
}