notmuch-mailmover: 0.3.0 -> 0.4.0
This commit is contained in:
parent
42b9d03848
commit
be2e87f600
@ -3,28 +3,40 @@
|
|||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
|
pkg-config,
|
||||||
|
lua5_4,
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "notmuch-mailmover";
|
pname = "notmuch-mailmover";
|
||||||
version = "0.3.0";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "michaeladler";
|
owner = "michaeladler";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-b+6vQ7m49+9RQ+GA75VgOAJej/2zeu5JAje/OazsEsk=";
|
hash = "sha256-MqDmojVkSPNhpls+O5CrFuo2b7lfFfg1cLDg5PjCF7U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-qHSmfR5iUBXq8OQJkGCVA4JnExXisN2OIAVKiVMUaZo=";
|
cargoHash = "sha256-xFnA6f0X5BAmZEDwR4/hKwIKTr5yNK+CJbo3/o5MmoI=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ notmuch ];
|
buildInputs = [
|
||||||
|
notmuch
|
||||||
|
lua5_4
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage share/notmuch-mailmover.1.gz
|
installManPage share/notmuch-mailmover.1.gz
|
||||||
|
|
||||||
|
mkdir -p $out/share/notmuch-mailmover
|
||||||
|
cp -dR example $out/share/notmuch-mailmover/
|
||||||
|
|
||||||
installShellCompletion --cmd notmuch-mailmover \
|
installShellCompletion --cmd notmuch-mailmover \
|
||||||
--bash share/notmuch-mailmover.bash \
|
--bash share/notmuch-mailmover.bash \
|
||||||
--fish share/notmuch-mailmover.fish \
|
--fish share/notmuch-mailmover.fish \
|
||||||
|
Loading…
Reference in New Issue
Block a user