diff options
author | zimbatm <zimbatm@zimbatm.com> | 2019-10-08 17:34:36 +0200 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2019-10-08 17:35:14 +0200 |
commit | 6886db123c2f947db1e431d8c06e61b529e2983e (patch) | |
tree | b8757d0162cb0ba1d048636dac0dcbcb94a48aef /pkgs/tools | |
parent | bffcb980e3a4329b18ee158484a9304062468567 (diff) |
keycard-cli: init at 0.0.12
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/keycard-cli/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/keycard-cli/default.nix b/pkgs/tools/security/keycard-cli/default.nix new file mode 100644 index 0000000000000..e87bb060cc66a --- /dev/null +++ b/pkgs/tools/security/keycard-cli/default.nix @@ -0,0 +1,26 @@ +{ lib, buildGoPackage, fetchFromGitHub, pkgconfig, pcsclite }: + +buildGoPackage rec { + pname = "keycard-cli"; + version = "0.0.12"; + + goPackagePath = "github.com/status-im/keycard-cli"; + subPackages = [ "." ]; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ pcsclite ]; + + src = fetchFromGitHub { + owner = "status-im"; + repo = pname; + rev = version; + sha256 = "1jnbaq57i6i9bad1hcvd28mxfqq6v8rv806c6l74vlb79ff4v1wb"; + }; + + meta = with lib; { + description = "A command line tool and shell to manage keycards"; + homepage = "https://keycard.status.im"; + license = licenses.mpl20; + maintainers = [ maintainers.zimbatm ]; + }; +} |