Merge pull request #190952 from figsoda/miniserve

miniserve: remove unnecessary dependencies, add figsoda as a maintainer
This commit is contained in:
figsoda 2022-09-13 16:56:29 -04:00 committed by GitHub
commit 06cd6234af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,8 @@
{ lib { lib
, stdenv
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
, pkg-config , stdenv
, zlib
, libiconv
, Security , Security
}: }:
@ -24,12 +21,9 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
pkg-config
zlib
]; ];
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
libiconv
Security Security
]; ];
@ -51,9 +45,9 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "CLI tool to serve files and directories over HTTP"; description = "CLI tool to serve files and directories over HTTP";
homepage = "https://github.com/svenstaro/miniserve"; homepage = "https://github.com/svenstaro/miniserve";
changelog = "https://github.com/svenstaro/miniserve/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ figsoda ];
platforms = platforms.unix;
# https://hydra.nixos.org/build/162650896/nixlog/1 # https://hydra.nixos.org/build/162650896/nixlog/1
broken = stdenv.isDarwin && stdenv.isAarch64; broken = stdenv.isDarwin && stdenv.isAarch64;
}; };