mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Merge pull request #165255 from rien/master
This commit is contained in:
commit
b861f07f82
@ -9,13 +9,7 @@
|
|||||||
, withManpage ? false
|
, withManpage ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with python3.pkgs;
|
with python3.pkgs; buildPythonApplication rec {
|
||||||
let
|
|
||||||
notmuch2 = callPackage ./notmuch.nix {
|
|
||||||
inherit notmuch;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
buildPythonApplication rec {
|
|
||||||
pname = "alot";
|
pname = "alot";
|
||||||
version = "0.10";
|
version = "0.10";
|
||||||
|
|
||||||
|
@ -62,7 +62,12 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
makeFlags = [ "V=1" ];
|
makeFlags = [ "V=1" ];
|
||||||
|
|
||||||
outputs = [ "out" "man" "info" ]
|
postConfigure = ''
|
||||||
|
mkdir ${placeholder "bindingconfig"}
|
||||||
|
cp bindings/python-cffi/_notmuch_config.py ${placeholder "bindingconfig"}/
|
||||||
|
'';
|
||||||
|
|
||||||
|
outputs = [ "out" "man" "info" "bindingconfig" ]
|
||||||
++ lib.optional withEmacs "emacs"
|
++ lib.optional withEmacs "emacs"
|
||||||
++ lib.optional withRuby "ruby";
|
++ lib.optional withRuby "ruby";
|
||||||
|
|
||||||
|
@ -14,6 +14,12 @@ buildPythonPackage {
|
|||||||
|
|
||||||
buildInputs = [ python notmuch cffi ];
|
buildInputs = [ python notmuch cffi ];
|
||||||
|
|
||||||
|
# since notmuch 0.35, this package expects _notmuch_config.py that is
|
||||||
|
# generated by notmuch's configure script
|
||||||
|
postPatch = ''
|
||||||
|
cp ${notmuch.bindingconfig}/_notmuch_config.py .
|
||||||
|
'';
|
||||||
|
|
||||||
# no tests
|
# no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "notmuch2" ];
|
pythonImportsCheck = [ "notmuch2" ];
|
@ -5617,6 +5617,10 @@ in {
|
|||||||
inherit (pkgs) notmuch;
|
inherit (pkgs) notmuch;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
notmuch2 = callPackage ../development/python-modules/notmuch2 {
|
||||||
|
inherit (pkgs) notmuch;
|
||||||
|
};
|
||||||
|
|
||||||
nototools = callPackage ../data/fonts/noto-fonts/tools.nix { };
|
nototools = callPackage ../data/fonts/noto-fonts/tools.nix { };
|
||||||
|
|
||||||
notus-scanner = callPackage ../development/python-modules/notus-scanner { };
|
notus-scanner = callPackage ../development/python-modules/notus-scanner { };
|
||||||
|
Loading…
Reference in New Issue
Block a user