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