Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-29 12:06:25 +00:00
committed by GitHub
23 changed files with 255 additions and 48 deletions
+3
View File
@@ -19,11 +19,14 @@ python3Packages.buildPythonApplication rec {
pbkdf2
pyyaml
requests
setuptools
tqdm
urllib3
zeroconf
];
pythonImportsCheck = [ "dptrp1" ];
meta = with lib; {
homepage = "https://github.com/janten/dpt-rp1-py";
description = "Python script to manage Sony DPT-RP1 without Digital Paper App";
+12 -4
View File
@@ -2,6 +2,7 @@
, stdenv
, rustPlatform
, fetchFromGitHub
, installShellFiles
, pkg-config
, zlib
, libiconv
@@ -10,22 +11,29 @@
rustPlatform.buildRustPackage rec {
pname = "miniserve";
version = "0.12.1";
version = "0.13.0";
src = fetchFromGitHub {
owner = "svenstaro";
repo = "miniserve";
rev = "v${version}";
sha256 = "sha256-1LyDwQWC8cb3Sq8lZ9eDpZMcu5/yh0BJFuOWQ3iTtpY=";
sha256 = "sha256-1nXhAYvvvUQb0RcWidsRMQOhU8eXt7ngzodsMkYvqvg=";
};
cargoSha256 = "sha256-11aP0/p9wC9o1KuM+CLAuHhZxuYff6nvJPj0/yjb1+E=";
cargoSha256 = "sha256-P5ukE7eXBRJMrc7+T9/TMq2uGs0AuZliHTtoqiZXNZw=";
nativeBuildInputs = [ pkg-config zlib ];
nativeBuildInputs = [ installShellFiles pkg-config zlib ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
checkFlags = [ "--skip=cant_navigate_up_the_root" ];
postInstall = ''
installShellCompletion --cmd miniserve \
--bash <($out/bin/miniserve --print-completions bash) \
--fish <($out/bin/miniserve --print-completions fish) \
--zsh <($out/bin/miniserve --print-completions zsh)
'';
meta = with lib; {
description = "For when you really just want to serve some files over HTTP right now!";
homepage = "https://github.com/svenstaro/miniserve";