tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
notmuch-mailmover: 0.1.0 -> 0.2.0
Michael Adler
2 years ago
391c937c
643419f0
+14
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
mailreaders
notmuch
notmuch-mailmover.nix
+14
-3
pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix
···
3
, stdenv
4
, fetchFromGitHub
5
, rustPlatform
0
6
}:
7
rustPlatform.buildRustPackage rec {
8
pname = "notmuch-mailmover";
9
-
version = "0.1.0";
10
11
src = fetchFromGitHub {
12
owner = "michaeladler";
13
repo = pname;
14
rev = "v${version}";
15
-
sha256 = "sha256-b2Q1JcXIp56Niv5kdPgQSM91e8hPPdyhWIG4f7kQn78=";
16
};
0
0
0
0
17
18
buildInputs = [ notmuch ];
19
20
-
cargoSha256 = "sha256-AW0mCdQN3WJhSErJ/MqnNIsRX+C6Pb/zHCQh7v/70MU=";
0
0
0
0
0
0
21
22
meta = with lib; {
23
description = "Application to assign notmuch tagged mails to IMAP folders";
···
3
, stdenv
4
, fetchFromGitHub
5
, rustPlatform
6
+
, installShellFiles
7
}:
8
rustPlatform.buildRustPackage rec {
9
pname = "notmuch-mailmover";
10
+
version = "0.2.0";
11
12
src = fetchFromGitHub {
13
owner = "michaeladler";
14
repo = pname;
15
rev = "v${version}";
16
+
hash = "sha256-12eDCqer13GJS0YjJDleJbkP4o7kZfof6HlLG06qZW0=";
17
};
18
+
19
+
cargoHash = "sha256-B5VSkhY4nNXSG2SeCl22pSkl6SXEEoYj99wEsNhs/bQ=";
20
+
21
+
nativeBuildInputs = [ installShellFiles ];
22
23
buildInputs = [ notmuch ];
24
25
+
postInstall = ''
26
+
installManPage share/notmuch-mailmover.1
27
+
installShellCompletion --cmd notmuch-mailmover \
28
+
--bash share/notmuch-mailmover.bash \
29
+
--fish share/notmuch-mailmover.fish \
30
+
--zsh share/_notmuch-mailmover
31
+
'';
32
33
meta = with lib; {
34
description = "Application to assign notmuch tagged mails to IMAP folders";