summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatej Cotman <cotman.matej@gmail.com>2014-09-26 10:02:20 +0200
committerMatej Cotman <cotman.matej@gmail.com>2014-09-26 10:47:29 +0200
commit313f01bad8a070138b85c40c2fd2b5ba8b42aa8e (patch)
tree796e5751c40d4ec02437f19dabcba3667693ec41 /pkgs
parent9a90ce0bf71926cd3edf44e39bf3b789e15691c3 (diff)
mailpile: fix issues by upgrade to current master and add openssl
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/mailreaders/mailpile/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/networking/mailreaders/mailpile/default.nix b/pkgs/applications/networking/mailreaders/mailpile/default.nix
index 0f51719e97912..4ab85026dedc2 100644
--- a/pkgs/applications/networking/mailreaders/mailpile/default.nix
+++ b/pkgs/applications/networking/mailreaders/mailpile/default.nix
@@ -1,12 +1,13 @@
-{ stdenv, fetchurl, pythonPackages, gnupg1orig, makeWrapper }:
+{ stdenv, fetchgit, pythonPackages, gnupg1orig, makeWrapper, openssl }:
 
 pythonPackages.buildPythonPackage rec {
   name = "mailpile-${version}";
   version = "0.4.0";
 
-  src = fetchurl {
-    url = "https://github.com/pagekite/Mailpile/archive/${version}.zip";
-    sha256 = "1di859lnhmlih4byfpsj8x6wjvzrddw0ng0w69bsj5f9bdy4rgq4";
+  src = fetchgit {
+    url = "git://github.com/pagekite/Mailpile";
+    rev = "af3e2554dcef892cc44e044ce61e1693f09228c0";
+    sha256 = "0p8j5w5281rjl0nigsw7glfp7inz13p6iqlr9g3m3vh72i9pvl7h";
   };
   
   patchPhase = ''
@@ -19,7 +20,8 @@ pythonPackages.buildPythonPackage rec {
   ];
 
   postInstall = ''
-    wrapProgram $out/bin/mailpile --prefix PATH ":" "${gnupg1orig}/bin"
+    wrapProgram $out/bin/mailpile \
+      --prefix PATH ":" "${gnupg1orig}/bin:${openssl}/bin"
   '';
 
   meta = with stdenv.lib; {