mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
pinentry-mac: init at 0.9.4
This commit is contained in:
parent
542906a29b
commit
154040ab1c
26
pkgs/tools/security/pinentry-mac/default.nix
Normal file
26
pkgs/tools/security/pinentry-mac/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ fetchurl, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pinentry-mac-0.9.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/GPGTools/pinentry-mac/archive/v0.9.4.tar.gz";
|
||||
sha256 = "037ebb010377d3a3879ae2a832cefc4513f5c397d7d887d7b86b4e5d9a628271";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ./Makefile --replace "xcodebuild" "/usr/bin/xcodebuild"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/Applications
|
||||
mv build/Release/pinentry-mac.app $out/Applications
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Pinentry for GPG on Mac";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
homepage = "https://github.com/GPGTools/pinentry-mac";
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
};
|
||||
}
|
@ -2741,6 +2741,8 @@ let
|
||||
libcap = if stdenv.isDarwin then null else libcap;
|
||||
};
|
||||
|
||||
pinentry_mac = callPackage ../tools/security/pinentry-mac { };
|
||||
|
||||
pingtcp = callPackage ../tools/networking/pingtcp { };
|
||||
|
||||
pius = callPackage ../tools/security/pius { };
|
||||
|
Loading…
Reference in New Issue
Block a user