uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
31
pkgs/tools/security/keycard-cli/default.nix
Normal file
31
pkgs/tools/security/keycard-cli/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, buildGoPackage, fetchFromGitHub, pkg-config, pcsclite }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "keycard-cli";
|
||||
version = "0.6.0";
|
||||
|
||||
goPackagePath = "github.com/status-im/keycard-cli";
|
||||
subPackages = [ "." ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ pcsclite ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "status-im";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-ejFvduZs3eWc6efr9o4pXb6qw2QWWQTtkTxF80vOGNU=";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command line tool and shell to manage keycards";
|
||||
homepage = "https://keycard.status.im";
|
||||
license = licenses.mpl20;
|
||||
maintainers = [ maintainers.zimbatm ];
|
||||
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/keycard-cli.x86_64-darwin
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue