Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 636f1f08b0a1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3c32910b9be1
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 16, 2019

  1. afew: 1.3.0 -> 2.0.0

    flokli committed Jun 16, 2019
    Copy the full SHA
    dc1228d View commit details
  2. Merge pull request #63194 from flokli/afew-2.0.0

    afew: 1.3.0 -> 2.0.0
    andir authored Jun 16, 2019
    Copy the full SHA
    3c32910 View commit details
Showing with 12 additions and 9 deletions.
  1. +12 −9 pkgs/applications/networking/mailreaders/afew/default.nix
21 changes: 12 additions & 9 deletions pkgs/applications/networking/mailreaders/afew/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

pythonPackages.buildPythonApplication rec {
pname = "afew";
version = "1.3.0";
version = "2.0.0";

src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0105glmlkpkjqbz350dxxasvlfx9dk0him9vwbl86andzi106ygz";
sha256 = "0j60501nm242idf2ig0h7p6wrg58n5v2p6zfym56v9pbvnbmns0s";
};

nativeBuildInputs = with pythonPackages; [ sphinx setuptools_scm ];
@@ -15,19 +15,22 @@ pythonPackages.buildPythonApplication rec {
pythonPackages.notmuch chardet dkimpy
] ++ stdenv.lib.optional (!pythonPackages.isPy3k) subprocess32;

makeWrapperArgs = [
''--prefix PATH ':' "${notmuch}/bin"''
];

outputs = [ "out" "doc" ];

postBuild = ''
make -C docs man
python setup.py build_sphinx -b html,man
'';

postInstall = ''
mandir="$out/share/man/man1"
mkdir -p "$mandir"
cp docs/build/man/* "$mandir"
install -D -v -t $out/share/man/man1 build/sphinx/man/*
mkdir -p $out/share/doc/afew
cp -R build/sphinx/html/* $out/share/doc/afew
'';

makeWrapperArgs = [
''--prefix PATH ':' "${notmuch}/bin"''
];

meta = with stdenv.lib; {
homepage = https://github.com/afewmail/afew;