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
3
, stdenv
4
4
, fetchFromGitHub
5
5
, rustPlatform
6
6
+
, installShellFiles
6
7
}:
7
8
rustPlatform.buildRustPackage rec {
8
9
pname = "notmuch-mailmover";
9
9
-
version = "0.1.0";
10
10
+
version = "0.2.0";
10
11
11
12
src = fetchFromGitHub {
12
13
owner = "michaeladler";
13
14
repo = pname;
14
15
rev = "v${version}";
15
15
-
sha256 = "sha256-b2Q1JcXIp56Niv5kdPgQSM91e8hPPdyhWIG4f7kQn78=";
16
16
+
hash = "sha256-12eDCqer13GJS0YjJDleJbkP4o7kZfof6HlLG06qZW0=";
16
17
};
18
18
+
19
19
+
cargoHash = "sha256-B5VSkhY4nNXSG2SeCl22pSkl6SXEEoYj99wEsNhs/bQ=";
20
20
+
21
21
+
nativeBuildInputs = [ installShellFiles ];
17
22
18
23
buildInputs = [ notmuch ];
19
24
20
20
-
cargoSha256 = "sha256-AW0mCdQN3WJhSErJ/MqnNIsRX+C6Pb/zHCQh7v/70MU=";
25
25
+
postInstall = ''
26
26
+
installManPage share/notmuch-mailmover.1
27
27
+
installShellCompletion --cmd notmuch-mailmover \
28
28
+
--bash share/notmuch-mailmover.bash \
29
29
+
--fish share/notmuch-mailmover.fish \
30
30
+
--zsh share/_notmuch-mailmover
31
31
+
'';
21
32
22
33
meta = with lib; {
23
34
description = "Application to assign notmuch tagged mails to IMAP folders";