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