diff options
author | Anthony Roussel <anthony@roussel.dev> | 2024-03-30 16:36:11 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2024-03-30 17:12:57 +0100 |
commit | b65cd9bb4df254b62fb7a97d175f1a5792505c11 (patch) | |
tree | de7487abe7f0f460a1aaf748df2260cd3d43c65f /pkgs/tools/filesystems/httpdirfs/default.nix | |
parent | 3d8b76d951bff5baeb8000f4e7be842270000fe4 (diff) |
httpdirfs: format with nixfmt-rfc-style
Diffstat (limited to 'pkgs/tools/filesystems/httpdirfs/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/httpdirfs/default.nix | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/pkgs/tools/filesystems/httpdirfs/default.nix b/pkgs/tools/filesystems/httpdirfs/default.nix index 6163e1a0158ab..1d4952edcbf9a 100644 --- a/pkgs/tools/filesystems/httpdirfs/default.nix +++ b/pkgs/tools/filesystems/httpdirfs/default.nix @@ -1,4 +1,14 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, curl, expat, fuse, gumbo, libuuid }: +{ + curl, + expat, + fetchFromGitHub, + fuse, + gumbo, + lib, + libuuid, + pkg-config, + stdenv, +}: stdenv.mkDerivation rec { pname = "httpdirfs"; @@ -7,21 +17,28 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "fangfufu"; repo = pname; - rev = version; + rev = "refs/tags/${version}"; sha256 = "sha256-rdeBlAV3t/si9x488tirUGLZRYAxh13zdRIQe0OPd+A="; }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ curl expat fuse gumbo libuuid ]; + + buildInputs = [ + curl + expat + fuse + gumbo + libuuid + ]; makeFlags = [ "prefix=${placeholder "out"}" ]; - meta = with lib; { + meta = { description = "A FUSE filesystem for HTTP directory listings"; homepage = "https://github.com/fangfufu/httpdirfs"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ sbruder schnusch ]; - platforms = platforms.unix; + license = lib.licenses.gpl3Only; mainProgram = "httpdirfs"; + maintainers = with lib.maintainers; [ sbruder schnusch ]; + platforms = lib.platforms.unix; }; } |