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:
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user