nix/packages/notcoal/default.nix
2022-02-13 00:31:58 +01:00

21 lines
621 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 = [ "--features=standalone" ];
buildInputs = [ bash notmuch ];
meta = with lib; {
description = "An email tagger for notmuch";
homepage = "https://ghom.niij.org/eaon/notcoal";
};
}