Merge pull request #190952 from figsoda/miniserve
miniserve: remove unnecessary dependencies, add figsoda as a maintainer
This commit is contained in:
commit
06cd6234af
1 changed files with 3 additions and 9 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue