forked from mirrors/nixpkgs
Merge pull request #269766 from gaykitty/stargazer-update
stargazer: 1.0.5 -> 1.1.0
This commit is contained in:
commit
5689f242a1
|
@ -24,7 +24,7 @@
|
|||
geminiserver.wait_for_open_port(1965)
|
||||
|
||||
with subtest("check is serving over gemini"):
|
||||
response = geminiserver.succeed("${pkgs.gmni}/bin/gmni -j once -i -N gemini://localhost:1965")
|
||||
response = geminiserver.succeed("${pkgs.gemget}/bin/gemget --header -o - gemini://localhost:1965")
|
||||
print(response)
|
||||
assert "Hello NixOS!" in response
|
||||
'';
|
||||
|
|
|
@ -5,22 +5,27 @@
|
|||
, installShellFiles
|
||||
, scdoc
|
||||
, Security
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "stargazer";
|
||||
version = "1.0.5";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~zethra";
|
||||
repo = "stargazer";
|
||||
rev = version;
|
||||
hash = "sha256-n88X3RJD7PqOcVRK/bp/gMNLVrbwnJ2iwi2rCpsfp+o=";
|
||||
hash = "sha256-c0gKvVaMiUOGHlPmtaW6it8J9MusQY7BA/5F9I3ysMc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Yqh3AQIOahKz2mLeVNm58Yr6vhjU4aQwN62y3Z5/EJc=";
|
||||
cargoHash = "sha256-8VrEZZNSFLAjUagsiRApvjiXusBHLLn1O/+QKtQY4wg=";
|
||||
|
||||
doCheck = false; # Uses extenal testing framework that requires network
|
||||
doCheck = false; # Uses external testing framework that requires network
|
||||
|
||||
passthru.tests = {
|
||||
basic-functionality = nixosTests.stargazer;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles scdoc ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue