prs: 0.2.7 -> 0.2.8
This commit is contained in:
parent
5bc2962319
commit
c890c058da
1 changed files with 11 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, installShellFiles
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, python3
|
, python3
|
||||||
, dbus
|
, dbus
|
||||||
|
@ -12,16 +13,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "prs";
|
pname = "prs";
|
||||||
version = "0.2.7";
|
version = "0.2.8";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "timvisee";
|
owner = "timvisee";
|
||||||
repo = "prs";
|
repo = "prs";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-1Jrgf5UW6k0x3q6kQIB6Q7moOhConEnUU9r+21W5Uu8=";
|
sha256 = "sha256-TPgS3gtSfCAtQyQCZ0HadxvmX6+dP/3SE/WumzzYUAw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-N3pLW/OGeurrl+AlwdfbZ3T7WzEOAuyUMdIR164Xp7k=";
|
cargoSha256 = "sha256-djKtmQHBVXEfn91avJCsVJwEJIE3xL1umvoLAIyXSrw=";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# The GPGME backend is recommended
|
# The GPGME backend is recommended
|
||||||
|
@ -31,10 +32,16 @@ rustPlatform.buildRustPackage rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ gpgme pkg-config python3 ];
|
nativeBuildInputs = [ gpgme installShellFiles pkg-config python3 ];
|
||||||
|
|
||||||
buildInputs = [ dbus glib gpgme gtk3 libxcb ];
|
buildInputs = [ dbus glib gpgme gtk3 libxcb ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for shell in bash fish zsh; do
|
||||||
|
installShellCompletion --cmd prs --$shell <($out/bin/prs internal completions $shell --stdout)
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Secure, fast & convenient password manager CLI using GPG and git to sync";
|
description = "Secure, fast & convenient password manager CLI using GPG and git to sync";
|
||||||
homepage = "https://gitlab.com/timvisee/prs";
|
homepage = "https://gitlab.com/timvisee/prs";
|
||||||
|
|
Loading…
Reference in a new issue