diff options
author | Svend Sorensen <svend@ciffer.net> | 2016-01-08 17:06:24 -0800 |
---|---|---|
committer | Svend Sorensen <svend@ciffer.net> | 2016-01-08 17:13:21 -0800 |
commit | 154040ab1c7a854c11e2a92e7c2991f12fd6fcf1 (patch) | |
tree | 876784d6638aa3aff831158e8b712556faeb2ba0 /pkgs/tools | |
parent | 542906a29be210ba707edcbb479900b79993fa2a (diff) | |
download | nixlib-154040ab1c7a854c11e2a92e7c2991f12fd6fcf1.tar nixlib-154040ab1c7a854c11e2a92e7c2991f12fd6fcf1.tar.gz nixlib-154040ab1c7a854c11e2a92e7c2991f12fd6fcf1.tar.bz2 nixlib-154040ab1c7a854c11e2a92e7c2991f12fd6fcf1.tar.lz nixlib-154040ab1c7a854c11e2a92e7c2991f12fd6fcf1.tar.xz nixlib-154040ab1c7a854c11e2a92e7c2991f12fd6fcf1.tar.zst nixlib-154040ab1c7a854c11e2a92e7c2991f12fd6fcf1.zip |
pinentry-mac: init at 0.9.4
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/pinentry-mac/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/pinentry-mac/default.nix b/pkgs/tools/security/pinentry-mac/default.nix new file mode 100644 index 000000000000..faf8c613ea83 --- /dev/null +++ b/pkgs/tools/security/pinentry-mac/default.nix @@ -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; + }; +} |