nix/packages/notcoal/default.nix
2020-10-12 08:13:27 +02:00

27 lines
640 B
Nix

{ lib, stdenv, rustPlatform, notmuch, bash }:
rustPlatform.buildRustPackage rec {
pname = "notcoal";
version = "0.3.0";
src = fetchTarball {
url = https://ghom.niij.org/eaon/notcoal/archive/v0.3.0.tar.gz;
sha256 = "19gaba6asid5vplcy9q0ama40dvwwxglc40ks5240lydrvgfrimq";
};
cargoPatches = [
./Cargo.lock.patch
];
cargoSha256 = "0kgjxq2319l2gh1xc0f3ir1pa6z7p62z3fccswwxrz7gbn7nc07c";
cargoBuildFlags = ["--feature=standalone"];
buildInputs = [
bash
notmuch
];
meta = with stdenv.lib; {
description = "An email tagger for notmuch";
homepage = "https://ghom.niij.org/eaon/notcoal";
};
}