Merge pull request #29635 from andir/update-afew-to-1.2.0
afew: git-2017-02-8 -> 1.2.0
This commit is contained in:
commit
8da89ab658
@ -1,19 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, isPy3k , dbacl, notmuch, chardet, subprocess32 }:
|
||||
, isPy3k , setuptools_scm, notmuch, chardet, subprocess32 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "afew";
|
||||
version = "git-2017-02-08";
|
||||
version = "1.2.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "afewmail";
|
||||
repo = "afew";
|
||||
rev = "889a3b966835c4d16aa1f24bb89f12945b9b2a67";
|
||||
sha256 = "01gwrx1m3ka13ps3vj04a3y8llli2j2vkd3gcggcvxdphhpysckm";
|
||||
rev = "3405475276a2433e1238be330e538ebf2a976e5e";
|
||||
sha256 = "1h974avnfc6636az130yjqwm28z3aaqm49bjhpy3razx6zvyhzlf";
|
||||
};
|
||||
|
||||
buildInputs = [ dbacl ];
|
||||
buildInputs = [ setuptools_scm ];
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = "${version}";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
notmuch
|
||||
@ -22,10 +23,6 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace afew/DBACL.py --replace "'dbacl'" "'${dbacl}/bin/dbacl'"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/afew \
|
||||
--prefix LD_LIBRARY_PATH : ${notmuch}/lib
|
||||
|
Loading…
Reference in New Issue
Block a user