summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-03-18 10:13:05 +0100
committerGitHub <noreply@github.com>2022-03-18 10:13:05 +0100
commit4c0c1a576958a45e4ba66c76441f664593ece12a (patch)
tree7ca485ab376f7cc2dd95ca8ca954931ace0dd3d3
parentb23e8d2dee33a9edfd1f9c469587fc6c68b7c9f0 (diff)
miniserve: update description
-rw-r--r--pkgs/tools/misc/miniserve/default.nix16
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/tools/misc/miniserve/default.nix b/pkgs/tools/misc/miniserve/default.nix
index 70117b0c1f5d..d24fae2a1fa9 100644
--- a/pkgs/tools/misc/miniserve/default.nix
+++ b/pkgs/tools/misc/miniserve/default.nix
@@ -17,13 +17,21 @@ rustPlatform.buildRustPackage rec {
owner = "svenstaro";
repo = "miniserve";
rev = "v${version}";
- sha256 = "sha256-JlpjDUX8v7sGADhdKNQXoklbl/fw8DT0A6hEaUG61TQ=";
+ hash = "sha256-JlpjDUX8v7sGADhdKNQXoklbl/fw8DT0A6hEaUG61TQ=";
};
cargoSha256 = "sha256-5V8+Mcuu3fxG399QjW++/uWpPMvVWBfhI/L/6pmbkVY=";
- nativeBuildInputs = [ installShellFiles pkg-config zlib ];
- buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
+ nativeBuildInputs = [
+ installShellFiles
+ pkg-config
+ zlib
+ ];
+
+ buildInputs = lib.optionals stdenv.isDarwin [
+ libiconv
+ Security
+ ];
checkFlags = [
"--skip=bind_ipv4_ipv6::case_2"
@@ -38,7 +46,7 @@ rustPlatform.buildRustPackage rec {
'';
meta = with lib; {
- description = "For when you really just want to serve some files over HTTP right now!";
+ description = "CLI tool to serve files and directories over HTTP";
homepage = "https://github.com/svenstaro/miniserve";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ];