blob: d639d9aebc7f3e9cb1c0e6daada40b714b3ce0f7 (
plain) (
tree)
|
|
{ stdenv, notmuch, pythonPackages }:
stdenv.mkDerivation rec {
name = "notmuch-${pythonPackages.python.name}-${version}";
version = notmuch.version;
outputs = [ "out" ];
buildInputs = with pythonPackages; [ sphinx python ];
src = notmuch.src;
phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];
buildPhase = ''
cd bindings/python
python setup.py build
'';
installPhase = ''
python setup.py install --prefix=$out --optimize=1
'';
}
|