about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-01-11 20:54:20 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-20 13:48:24 +0100
commit5f03d6bf4d19714fec880729b946110799dd39db (patch)
treea6a38b87f470b404046d0af7d1f29b508617095b /pkgs/development/python-modules
parent567cf47d49a97a19024d848bb1c55816b2cdd382 (diff)
downloadnixlib-5f03d6bf4d19714fec880729b946110799dd39db.tar
nixlib-5f03d6bf4d19714fec880729b946110799dd39db.tar.gz
nixlib-5f03d6bf4d19714fec880729b946110799dd39db.tar.bz2
nixlib-5f03d6bf4d19714fec880729b946110799dd39db.tar.lz
nixlib-5f03d6bf4d19714fec880729b946110799dd39db.tar.xz
nixlib-5f03d6bf4d19714fec880729b946110799dd39db.tar.zst
nixlib-5f03d6bf4d19714fec880729b946110799dd39db.zip
afew: rewrite expression
it's an application, not a python module

Also, remove name attribute.
Build with python 3 by default.

afew: make setuptools_scm a buildInput

afew: don't set SETUPTOOLS_SCM_PRETEND_VERSION anymore

we fetch from pypi, with version info properly set, so this shouldn't be
an issue.

afew: set license

afew: add notmuch binary to PATH

it seems afew calls "notmuch new" in MailMover.py

afew: don't set LD_LIBRARY_PATH

the library is already hardcoded pythonPackages.notmuch's globals.py
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/afew/default.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/pkgs/development/python-modules/afew/default.nix b/pkgs/development/python-modules/afew/default.nix
deleted file mode 100644
index ca00477d4086..000000000000
--- a/pkgs/development/python-modules/afew/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ stdenv, buildPythonPackage, fetchFromGitHub
-, isPy3k , setuptools_scm, notmuch, chardet, subprocess32 }:
-
-buildPythonPackage rec {
-  pname = "afew";
-  version = "1.2.0";
-  name = "${pname}-${version}";
-
-  src = fetchFromGitHub {
-    owner = "afewmail";
-    repo = "afew";
-    rev = "3405475276a2433e1238be330e538ebf2a976e5e";
-    sha256 = "1h974avnfc6636az130yjqwm28z3aaqm49bjhpy3razx6zvyhzlf";
-  };
-
-  buildInputs = [ setuptools_scm ];
-  SETUPTOOLS_SCM_PRETEND_VERSION = "${version}";
-
-  propagatedBuildInputs = [
-    notmuch
-    chardet
-  ] ++ stdenv.lib.optional (!isPy3k) subprocess32;
-
-  postInstall = ''
-    wrapProgram $out/bin/afew \
-      --prefix LD_LIBRARY_PATH : ${notmuch}/lib
-  '';
-
-  meta = with stdenv.lib; {
-    homepage = https://github.com/afewmail/afew;
-    description = "An initial tagging script for notmuch mail";
-    maintainers = with maintainers; [ garbas andir flokli ];
-  };
-}