miniserve: init at 0.2.1

This commit is contained in:
Tim Steinbach 2018-11-20 17:02:24 -05:00
parent 6d7e116d0c
commit c605b98637
No known key found for this signature in database
GPG Key ID: C5629893DE283C96
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib }:
rustPlatform.buildRustPackage rec {
name = "miniserve-${version}";
version = "0.2.1";
src = fetchFromGitHub {
owner = "svenstaro";
repo = "miniserve";
rev = "v${version}";
sha256 = "1g8ggqs4fyscb1r98qj22f61jgkqnr4vdyps0drrvydl9lafdmpl";
};
cargoSha256 = "18wyr0q5pkxds5hrl4g3mqmk46mr0nvs0id94aiw87729ly4vi8c";
nativeBuildInputs = [ cmake pkgconfig zlib ];
meta = with stdenv.lib; {
description = "For when you really just want to serve some files over HTTP right now!";
homepage = https://github.com/svenstaro/miniserve;
license = with licenses; [ mit ];
maintainers = with maintainers; [ nequissimus ];
platforms = platforms.linux;
};
}

View File

@ -1520,6 +1520,8 @@ with pkgs;
metabase = callPackage ../servers/metabase { };
miniserve = callPackage ../tools/misc/miniserve { };
mkspiffs = callPackage ../tools/filesystems/mkspiffs { };
mkspiffs-presets = recurseIntoAttrs (callPackages ../tools/filesystems/mkspiffs/presets.nix { });