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: f690b34603d3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 81902419ddb8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 22, 2020

  1. mblaze: install msuck and mblow

    There are lots of other scripts in contrib that we should probably
    also install, but I didn't feel like taking the time to review them
    all and figure out what dependencies they would need.
    
    It would have been a shame to add a mandatory dependency on Ruby (and
    all that entails) to a package that otherwise has basically no
    dependencies, so I've made the Ruby dependency optional.
    alyssais committed Apr 22, 2020
    Copy the full SHA
    8190241 View commit details
Showing with 5 additions and 3 deletions.
  1. +5 −3 pkgs/applications/networking/mailreaders/mblaze/default.nix
8 changes: 5 additions & 3 deletions pkgs/applications/networking/mailreaders/mblaze/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub, fetchpatch, libiconv }:
{ stdenv, lib, fetchFromGitHub, fetchpatch, libiconv, ruby ? null }:

stdenv.mkDerivation rec {
pname = "mblaze";
version = "0.5.1";

buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = [ ruby ] ++ lib.optionals stdenv.isDarwin [ libiconv ];

src = fetchFromGitHub {
owner = "chneukirchen";
@@ -24,9 +24,11 @@ stdenv.mkDerivation rec {

postInstall = ''
install -Dm644 -t $out/share/zsh/site-functions contrib/_mblaze
'' + lib.optionalString (ruby != null) ''
install -Dt $out/bin contrib/msuck contrib/mblow
'';

meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/chneukirchen/mblaze";
description = "Unix utilities to deal with Maildir";
license = licenses.cc0;