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
29
pkgs/tools/security/ssh-to-pgp/default.nix
Normal file
29
pkgs/tools/security/ssh-to-pgp/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule, gnupg }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ssh-to-pgp";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "ssh-to-pgp";
|
||||
rev = version;
|
||||
sha256 = "sha256-5Wg0ItAkAb0zlhzcuDT9o0XIIbG9kqk4mIYb6hSJlsI=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-OMWiJ1n8ynvIGcmotjuGGsRuAidYgVo5Y5JjrAw8fpc=";
|
||||
|
||||
checkInputs = [ gnupg ];
|
||||
checkPhase = ''
|
||||
HOME=$TMPDIR go test .
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convert ssh private keys to PGP";
|
||||
homepage = "https://github.com/Mic92/ssh-to-pgp";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue