Skip to content

Commit

Permalink
mairix: switch to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
petrzjunior committed Mar 10, 2025
1 parent 0373f5a commit b88e0c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 171 deletions.
161 changes: 0 additions & 161 deletions pkgs/by-name/ma/mairix/mmap.patch

This file was deleted.

19 changes: 9 additions & 10 deletions pkgs/by-name/ma/mairix/package.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
zlib,
bzip2,
bison,
flex,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "mairix";
version = "0.24";
version = "0.24-unstable-2024-09-14";

src = fetchurl {
url = "mirror://sourceforge/mairix/mairix-${version}.tar.gz";
sha256 = "0msaxz5c5hf7k1ci16i67m4ynrbrpsxbqzk84nz6z2vnkh3jww50";
src = fetchFromGitHub {
owner = "vandry";
repo = "mairix";
rev = "f6c7a5aa141d2b201e8a299ab889ff1ed23992ea";
hash = "sha256-7SgBbQPuz07eoZJ9km6yYEjkyf2p+BPW1ec0X2X8pKE=";
};

buildInputs = [
Expand All @@ -24,9 +26,6 @@ stdenv.mkDerivation rec {
flex
];

# https://github.com/rc0/mairix/pull/19
patches = [ ./mmap.patch ];

enableParallelBuilding = true;

meta = {
Expand All @@ -35,6 +34,6 @@ stdenv.mkDerivation rec {
description = "Program for indexing and searching email messages stored in maildir, MH or mbox";
mainProgram = "mairix";
maintainers = [ ];
platforms = with lib.platforms; all;
platforms = lib.platforms.all;
};
}

0 comments on commit b88e0c1

Please sign in to comment.