keycard-cli: 0.6.0 -> 0.7.0 (#200785)

This commit is contained in:
Aaron Jheng 2022-11-12 22:31:34 +08:00 committed by GitHub
parent d7a7f12163
commit e28df55ffe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,22 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub, pkg-config, pcsclite }: { lib, stdenv, buildGoModule, fetchFromGitHub, pkg-config, pcsclite }:
buildGoPackage rec { buildGoModule rec {
pname = "keycard-cli"; pname = "keycard-cli";
version = "0.6.0"; version = "0.7.0";
goPackagePath = "github.com/status-im/keycard-cli";
subPackages = [ "." ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcsclite ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "status-im"; owner = "status-im";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-ejFvduZs3eWc6efr9o4pXb6qw2QWWQTtkTxF80vOGNU="; hash = "sha256-K2XxajprpPjfIs8rrnf2coIEQjPnir9/U0fTvqV2++g=";
}; };
ldflags = [ vendorHash = "sha256-3XzWOiZF2WNs2pdumYN9bphvBKY+rrjuT+wWhB2pwT0=";
"-X main.version=${version}"
]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcsclite ];
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
meta = with lib; { meta = with lib; {
description = "A command line tool and shell to manage keycards"; description = "A command line tool and shell to manage keycards";