Merge pull request #72188 from stigtsp/package/ripasso-cursive-0.2.1
ripasso-cursive: unstable-2019-08-27 -> 0.3.0
This commit is contained in:
commit
41beae8a9d
@ -1,30 +1,37 @@
|
|||||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, ncurses, python3, openssl, libgpgerror, gpgme, xorg }:
|
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, ncurses, python3, openssl, libgpgerror, gpgme, xorg, AppKit, Security }:
|
||||||
|
|
||||||
with rustPlatform;
|
with rustPlatform;
|
||||||
buildRustPackage rec {
|
buildRustPackage rec {
|
||||||
version = "unstable-2019-08-27";
|
version = "0.3.0";
|
||||||
pname = "ripasso-cursive";
|
pname = "ripasso-cursive";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cortex";
|
owner = "cortex";
|
||||||
repo = "ripasso";
|
repo = "ripasso";
|
||||||
rev = "1b5ef4ae19f95f1422ba5cb09e9e689880599c40";
|
rev = "release-${version}";
|
||||||
sha256 = "1lh1in8knpqz4vbsmdyd4hh8y4bfhxjciysfbq3qzdpdpihgj0nn";
|
sha256 = "1rkb23i9gcfmifcl31s8w86k7aza6nxrh3w33fvhv1ins1gxxk7w";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0dwaa106vj7jbgshhqpjabsr0zmkg1a5syzky7jcaasvc7r7njwl";
|
cargoSha256 = "1p0bsl4h2w257vfjbpqiga693gaslfq34g30dghpqb5n4kl416zp";
|
||||||
cargoBuildFlags = [ "-p ripasso-cursive" ];
|
|
||||||
|
cargoBuildFlags = [ "-p ripasso-cursive -p ripasso-man" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ncurses python3 openssl libgpgerror gpgme xorg.libxcb
|
ncurses python3 openssl libgpgerror gpgme xorg.libxcb
|
||||||
];
|
] ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
mkdir -p "$out/man/man1"
|
||||||
|
$out/bin/ripasso-man > $out/man/man1/ripasso-cursive.1
|
||||||
|
rm $out/bin/ripasso-man
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A simple password manager written in Rust";
|
description = "A simple password manager written in Rust";
|
||||||
homepage = "https://github.com/cortex/ripasso";
|
homepage = "https://github.com/cortex/ripasso";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ sgo ];
|
maintainers = with maintainers; [ sgo ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2041,7 +2041,9 @@ in
|
|||||||
conf = config.riot-web.conf or null;
|
conf = config.riot-web.conf or null;
|
||||||
};
|
};
|
||||||
|
|
||||||
ripasso-cursive = callPackage ../tools/security/ripasso/cursive.nix {};
|
ripasso-cursive = callPackage ../tools/security/ripasso/cursive.nix {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit Security;
|
||||||
|
};
|
||||||
|
|
||||||
roundcube = callPackage ../servers/roundcube { };
|
roundcube = callPackage ../servers/roundcube { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user