git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #72188 from stigtsp/package/ripasso-cursive-0.2.1

ripasso-cursive: unstable-2019-08-27 -> 0.3.0

commit41beae8a9d47ecd67ce21542d442e80a943635fa authorElis Hirwing <elis@hirwing.se> dateSat 7 Dec 2019, 08:49 (7 years ago) parent5ab4e702523a7f
2 files changed+18−9
pkgs/tools/security/ripasso/cursive.nix+15−8 pkgs/top-level/all-packages.nix+3−1
pkgs/tools/security/ripasso/cursive.nix+15−8
@@ -1,30 +1,37 @@
1−{ stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, ncurses, python3, openssl, libgpgerror, gpgme, xorg }:
1+{ stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, ncurses, python3, openssl, libgpgerror, gpgme, xorg, AppKit, Security }:
22
33with rustPlatform;
44buildRustPackage rec {
5− version = "unstable-2019-08-27";
5+ version = "0.3.0";
66 pname = "ripasso-cursive";
77
88 src = fetchFromGitHub {
99 owner = "cortex";
1010 repo = "ripasso";
11− rev = "1b5ef4ae19f95f1422ba5cb09e9e689880599c40";
12− sha256 = "1lh1in8knpqz4vbsmdyd4hh8y4bfhxjciysfbq3qzdpdpihgj0nn";
11+ rev = "release-${version}";
12+ sha256 = "1rkb23i9gcfmifcl31s8w86k7aza6nxrh3w33fvhv1ins1gxxk7w";
1313 };
1414
15− cargoSha256 = "0dwaa106vj7jbgshhqpjabsr0zmkg1a5syzky7jcaasvc7r7njwl";
16− cargoBuildFlags = [ "-p ripasso-cursive" ];
15+ cargoSha256 = "1p0bsl4h2w257vfjbpqiga693gaslfq34g30dghpqb5n4kl416zp";
16+
17+ cargoBuildFlags = [ "-p ripasso-cursive -p ripasso-man" ];
1718
1819 nativeBuildInputs = [ pkgconfig ];
1920 buildInputs = [
2021 ncurses python3 openssl libgpgerror gpgme xorg.libxcb
21− ];
22+ ] ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
23+
24+ preFixup = ''
25+ mkdir -p "$out/man/man1"
26+ $out/bin/ripasso-man > $out/man/man1/ripasso-cursive.1
27+ rm $out/bin/ripasso-man
28+ '';
2229
2330 meta = with stdenv.lib; {
2431 description = "A simple password manager written in Rust";
2532 homepage = "https://github.com/cortex/ripasso";
2633 license = licenses.gpl3;
2734 maintainers = with maintainers; [ sgo ];
28− platforms = platforms.linux;
35+ platforms = platforms.unix;
2936 };
3037}
pkgs/top-level/all-packages.nix+3−1
@@ -2041,7 +2041,9 @@ in
20412041 conf = config.riot-web.conf or null;
20422042 };
20432043
2044− ripasso-cursive = callPackage ../tools/security/ripasso/cursive.nix {};
2044+ ripasso-cursive = callPackage ../tools/security/ripasso/cursive.nix {
2045+ inherit (darwin.apple_sdk.frameworks) AppKit Security;
2046+ };
20452047
20462048 roundcube = callPackage ../servers/roundcube { };
20472049