qrcp: 0.7.0 -> 0.8.1
This commit is contained in:
parent
29058f9a43
commit
7aecbba178
@ -1,23 +1,34 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "qrcp";
|
pname = "qrcp";
|
||||||
version = "0.7.0";
|
version = "0.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "claudiodangelis";
|
owner = "claudiodangelis";
|
||||||
repo = "qrcp";
|
repo = "qrcp";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0rx0pzy7p3dklayr2lkmyfdc00x9v4pd5xnzydbjx12hncnkpw4l";
|
sha256 = "001w15hj5xb7p9gpvw1216lp26g5018qdi8mq6i84akb7zfd2q01";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0iffy43x3njcahrxl99a71v8p7im102nzv8iqbvd5c6m14rsckqa";
|
vendorSha256 = "1hn8c72fvih6ws1y2c4963pww3ld64m0yh3pmx62hwcy83bhb0v4";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --bash --cmd qrcp <($out/bin/qrcp completion bash)
|
||||||
|
installShellCompletion --fish --cmd qrcp <($out/bin/qrcp completion fish)
|
||||||
|
installShellCompletion --zsh --cmd qrcp <($out/bin/qrcp completion zsh)
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://claudiodangelis.com/qrcp/";
|
homepage = "https://claudiodangelis.com/qrcp/";
|
||||||
description = "Transfer files over wifi by scanning a QR code from your terminal";
|
description = "Transfer files over wifi by scanning a QR code from your terminal";
|
||||||
|
Loading…
Reference in New Issue
Block a user