Add mailpile package
parent
29e22337f3
commit
29b1be0a32
|
@ -4,6 +4,7 @@ self: super: {
|
||||||
pyroscope = super.callPackage ../pkgs/pyroscope {};
|
pyroscope = super.callPackage ../pkgs/pyroscope {};
|
||||||
peageprint = super.callPackage ../pkgs/peageprint.nix {};
|
peageprint = super.callPackage ../pkgs/peageprint.nix {};
|
||||||
nottetris2 = super.callPackage ../pkgs/nottetris2.nix {};
|
nottetris2 = super.callPackage ../pkgs/nottetris2.nix {};
|
||||||
|
mailpile = super.callPackage ../pkgs/mailpile.nix {};
|
||||||
libinput-gestures = super.callPackage ../pkgs/libinput-gestures.nix {};
|
libinput-gestures = super.callPackage ../pkgs/libinput-gestures.nix {};
|
||||||
gitFire = super.stdenv.mkDerivation {
|
gitFire = super.stdenv.mkDerivation {
|
||||||
src = super.fetchFromGitHub {
|
src = super.fetchFromGitHub {
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
{ stdenv, fetchFromGitHub, python2Packages, gnupg1orig, openssl, git }:
|
||||||
|
|
||||||
|
python2Packages.buildPythonApplication rec {
|
||||||
|
name = "mailpile-${version}";
|
||||||
|
version = "1.0rc1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mailpile";
|
||||||
|
repo = "Mailpile";
|
||||||
|
rev = "release/1.0";
|
||||||
|
sha256 = "0hl42ljdzk57ndndff9f1yh08znxwj01kjdmx019vmml0arv0jga";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "data_files.append((dir" "data_files.append(('lib/${python2Packages.python.libPrefix}/site-packages/' + dir"
|
||||||
|
patchShebangs scripts
|
||||||
|
'';
|
||||||
|
PBR_VERSION=version;
|
||||||
|
|
||||||
|
buildInputs = with python2Packages; [ pbr git ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python2Packages; [
|
||||||
|
cryptography
|
||||||
|
pillow jinja2 spambayes python2Packages.lxml
|
||||||
|
pgpdump gnupg1orig appdirs
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/mailpile \
|
||||||
|
--prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg1orig openssl ]}" \
|
||||||
|
--set MAILPILE_SHARED $out/share/mailpile
|
||||||
|
|
||||||
|
'';
|
||||||
|
|
||||||
|
# No tests were found
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A modern, fast web-mail client with user-friendly encryption and privacy features";
|
||||||
|
homepage = https://www.mailpile.is/;
|
||||||
|
license = [ licenses.agpl3 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.domenkozar maintainers.yorickvp ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue