nixpkgs/pkgs/applications/networking/mailreaders/afew/default.nix

29 lines
783 B
Nix
Raw Normal View History

{ stdenv, pythonPackages, notmuch }:
pythonPackages.buildPythonApplication rec {
pname = "afew";
2018-02-06 23:28:51 +00:00
version = "1.3.0";
src = pythonPackages.fetchPypi {
inherit pname version;
2018-02-06 23:28:51 +00:00
sha256 = "0105glmlkpkjqbz350dxxasvlfx9dk0him9vwbl86andzi106ygz";
};
buildInputs = with pythonPackages; [ setuptools_scm ];
propagatedBuildInputs = with pythonPackages; [
2018-02-06 23:28:51 +00:00
pythonPackages.notmuch chardet dkimpy
] ++ stdenv.lib.optional (!pythonPackages.isPy3k) subprocess32;
makeWrapperArgs = [
''--prefix PATH ':' "${notmuch}/bin"''
];
meta = with stdenv.lib; {
homepage = https://github.com/afewmail/afew;
description = "An initial tagging script for notmuch mail";
license = licenses.isc;
maintainers = with maintainers; [ garbas andir flokli ];
};
}