nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 94dc09aababfdfe447281586a27e2a3376bc30bd
parent 7b4c953eabff3747f2718b9ecde86e841d69cb39
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Wed, 24 Jul 2024 20:18:29 +0400

Add ffs

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/ffs/default.nix | 40++++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -337,6 +337,7 @@ lib.makeScope newScope ( dns-filter = callPackage ./misc/dns-filter { }; docker-reg-tool = callPackage ./misc/docker-reg-tool { }; docx2csv = callPackage ./misc/docx2csv { }; + ffs = callPackage ./misc/ffs { }; finalcut = callPackage ./misc/finalcut { }; freeopcua = callPackage ./misc/freeopcua { }; gaiagpsclient = callPackage ./misc/gaiagpsclient { }; diff --git a/pkgs/misc/ffs/default.nix b/pkgs/misc/ffs/default.nix @@ -0,0 +1,40 @@ +{ + lib, + stdenv, + rustPlatform, + fetchFromGitHub, + fuse3, + macfuse-stubs, + pkg-config, +}: + +let + fuse = if stdenv.isDarwin then macfuse-stubs else fuse3; +in +rustPlatform.buildRustPackage rec { + pname = "ffs"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "mgree"; + repo = "ffs"; + rev = "v${version}"; + hash = "sha256-7hYH+utmAoWtV2xZLvSnE8779qKvzIJVJt9mNwH82sY="; + }; + + cargoHash = "sha256-otZIFcXvSXYdd23jlSlXn5ExoUhTBCRnnqhO4ksb3Pw="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ fuse ]; + + doCheck = false; + + meta = { + description = "the file filesystem"; + homepage = "https://github.com/mgree/ffs"; + license = lib.licenses.gpl3; + maintainers = [ lib.maintainers.sikmir ]; + mainProgram = "ffs"; + }; +}