forked from mirrors/nixpkgs
littlefs-fuse: init at 2.4.1
This commit is contained in:
parent
4ec35ff6d6
commit
de23459252
26
pkgs/tools/filesystems/littlefs-fuse/default.nix
Normal file
26
pkgs/tools/filesystems/littlefs-fuse/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fuse }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "littlefs-fuse";
|
||||
version = "2.4.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "littlefs-project";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+EUZluBtgZiziTEIfXIhkRIBu/Pe78qmL18TQHkfHO4=";
|
||||
};
|
||||
buildInputs = [ fuse ];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D lfs $out/bin/${pname}
|
||||
ln -s $out/bin/${pname} $out/bin/mount.littlefs
|
||||
ln -s $out/bin $out/sbin
|
||||
runHook postInstall
|
||||
'';
|
||||
meta = src.meta // {
|
||||
description = "A FUSE wrapper that puts the littlefs in user-space";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
inherit (fuse.meta) platforms;
|
||||
};
|
||||
}
|
|
@ -7233,6 +7233,8 @@ with pkgs;
|
|||
|
||||
lfs = callPackage ../tools/filesystems/lfs { };
|
||||
|
||||
littlefs-fuse = callPackage ../tools/filesystems/littlefs-fuse { };
|
||||
|
||||
lksctp-tools = callPackage ../os-specific/linux/lksctp-tools { };
|
||||
|
||||
lldpd = callPackage ../tools/networking/lldpd { };
|
||||
|
|
Loading…
Reference in a new issue