figsoda 2023-10-02 10:49:16 -04:00
parent bb6c5f9f87
commit e807bbbca8

View file

@ -7,26 +7,21 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "funzzy"; pname = "funzzy";
version = "1.0.1"; version = "1.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cristianoliveira"; owner = "cristianoliveira";
repo = "funzzy"; repo = "funzzy";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Qqj/omtjUVtsjMh2LMmwlJ4d8fIwMT7mdD4odzI49u8="; hash = "sha256-sgfMxSbOBn2Ps6hqrFDm3x9QOnMvtMgO7gAt6kk0cIs=";
}; };
cargoHash = "sha256-pv05r5irKULRvik8kWyuT7/sr7GUDj0oExyyoGrMD6k="; cargoHash = "sha256-If8iBvwiaH1jK8z06ORY/lx+7HAT4InxbjoLe289kws=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices darwin.apple_sdk.frameworks.CoreServices
]; ];
# Cargo.lock is outdated
preConfigure = ''
cargo metadata --offline
'';
meta = with lib; { meta = with lib; {
description = "A lightweight watcher"; description = "A lightweight watcher";
homepage = "https://github.com/cristianoliveira/funzzy"; homepage = "https://github.com/cristianoliveira/funzzy";