about summary refs log tree commit diff
path: root/pkgs/tools/misc/miniserve
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2020-09-17 06:30:21 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2020-09-24 07:31:40 +1000
commitf9666eb8632b5a7f348c91e33e90a45a04b84912 (patch)
treeb49ebfbbcd631e9fb5982081eb726bc2e19a937c /pkgs/tools/misc/miniserve
parenta4d05ec30c6636f8f1268efb8ddf6f9f8b7ca507 (diff)
miniserve: 0.8.0 -> 0.9.0
https://github.com/svenstaro/miniserve/releases/tag/v0.9.0
Diffstat (limited to 'pkgs/tools/misc/miniserve')
-rw-r--r--pkgs/tools/misc/miniserve/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/misc/miniserve/default.nix b/pkgs/tools/misc/miniserve/default.nix
index 5da2a366cf88d..8e2503d06d428 100644
--- a/pkgs/tools/misc/miniserve/default.nix
+++ b/pkgs/tools/misc/miniserve/default.nix
@@ -3,27 +3,26 @@
 , fetchFromGitHub
 , pkg-config
 , zlib
-, openssl
 , Security
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "miniserve";
-  version = "0.8.0";
+  version = "0.9.0";
 
   src = fetchFromGitHub {
     owner = "svenstaro";
     repo = "miniserve";
     rev = "v${version}";
-    sha256 = "1h4872jb0xz8yzs02q8wfvqrp20y7kdva5ka6bh6nq4jrnnky8zb";
+    sha256 = "1abmg2zk1qipqdl1yfj8ibm1w8n7fazxqccsg1gq4xzlhhfp3m2l";
   };
 
-  cargoSha256 = "1vq1rrav9r9z4y0v7hpn0fcq64slq4zrm2pybmnmb7h9nfxxyr6k";
+  cargoSha256 = "0l750067x8k92ngg32bb8mnbq09aj65sdnpzdhij9n1mh90rkck9";
 
   RUSTC_BOOTSTRAP = 1;
 
   nativeBuildInputs = [ pkg-config zlib ];
-  buildInputs = if stdenv.isDarwin then [ Security ] else [ openssl ];
+  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
 
   meta = with stdenv.lib; {
     description = "For when you really just want to serve some files over HTTP right now!";
@@ -31,5 +30,6 @@ rustPlatform.buildRustPackage rec {
     license = with licenses; [ mit ];
     maintainers = with maintainers; [ nequissimus zowoq ];
     platforms = platforms.unix;
+    broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/pull/98181
   };
 }