nixpkgs/pkgs/applications/networking/mailreaders/afew/default.nix
2018-02-07 00:30:16 +01:00

29 lines
783 B
Nix

{ stdenv, pythonPackages, notmuch }:
pythonPackages.buildPythonApplication rec {
pname = "afew";
version = "1.3.0";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0105glmlkpkjqbz350dxxasvlfx9dk0him9vwbl86andzi106ygz";
};
buildInputs = with pythonPackages; [ setuptools_scm ];
propagatedBuildInputs = with pythonPackages; [
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 ];
};
}