mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
simple-http-server: 0.6.5 -> 0.6.6
Diff: https://github.com/TheWaWaR/simple-http-server/compare/v0.6.5...v0.6.6 Changelog: https://github.com/TheWaWaR/simple-http-server/releases/tag/v0.6.6
This commit is contained in:
parent
a4e5fc4c73
commit
aa3e98ca07
2 changed files with 15 additions and 8 deletions
|
@ -1,21 +1,30 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, stdenv, Security }:
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "simple-http-server";
|
pname = "simple-http-server";
|
||||||
version = "0.6.5";
|
version = "0.6.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TheWaWaR";
|
owner = "TheWaWaR";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-9wssSegekRBUXxpru5WGGu6BLX6BFEgV0QliNJToRFg=";
|
sha256 = "sha256-b+z3rio+kg1Z0B4pqhTlCTtzXgAeCAhinSa9dkIwcaY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-P8Zr5KTjXD0qHkf6QfyfN39PjokpZUfywhzVjIO5rE8=";
|
cargoSha256 = "sha256-teBqgQloI/13F7K/+EBKFcHWqcK1wJrNUu5LO8nwQbo=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
];
|
||||||
|
|
||||||
# Currently no tests are implemented, so we avoid building the package twice
|
# Currently no tests are implemented, so we avoid building the package twice
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -38613,9 +38613,7 @@ with pkgs;
|
||||||
|
|
||||||
simplehttp2server = callPackage ../servers/simplehttp2server { };
|
simplehttp2server = callPackage ../servers/simplehttp2server { };
|
||||||
|
|
||||||
simple-http-server = callPackage ../servers/simple-http-server {
|
simple-http-server = callPackage ../servers/simple-http-server { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
diceware = with python3Packages; toPythonApplication diceware;
|
diceware = with python3Packages; toPythonApplication diceware;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue