rs-git-fsmonitor: 0.1.3 (deleted) -> 0.2.0

* enable useFetchCargoVendor by providing correct hashes
* Add myself as maintainer
* use lib explicitely
This commit is contained in:
Nils
2025-02-04 18:37:19 +01:00
parent fcef602c47
commit 733b91ed5b
2 changed files with 36 additions and 1 deletions
@@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
rustPlatform,
makeWrapper,
watchman,
}:
rustPlatform.buildRustPackage rec {
pname = "rs-git-fsmonitor";
version = "0.2.0";
src = fetchFromGitHub {
owner = "jgavris";
repo = "rs-git-fsmonitor";
tag = "v${version}";
hash = "sha256-+5nR+/09HmFk3mq2B8NTeBT50aBG85yXEdeO6BhStVw=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-WkqJSbtaJxaagJMsdFiVozi1SkrfxXyM9bdZeimwJag=";
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
wrapProgram $out/bin/rs-git-fsmonitor --prefix PATH ":" "${lib.makeBinPath [ watchman ]}"
'';
meta = {
description = "Fast git core.fsmonitor hook written in Rust";
homepage = "https://github.com/jgavris/rs-git-fsmonitor";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nilscc ];
mainProgram = "rs-git-fsmonitor";
};
}
-1
View File
@@ -1227,7 +1227,6 @@ mapAliases {
rnix-hashes = throw "'rnix-hashes' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
rpiboot-unstable = throw "'rpiboot-unstable' has been renamed to/replaced by 'rpiboot'"; # Converted to throw 2024-10-17
rr-unstable = rr; # Added 2022-09-17
rs-git-fsmonitor = throw "'rs-git-fsmonitor' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
rtx = mise; # Added 2024-01-05
runCommandNoCC = runCommand;
runCommandNoCCLocal = runCommandLocal;