Skip to content

Commit

Permalink
Merge pull request NixOS#269766 from gaykitty/stargazer-update
Browse files Browse the repository at this point in the history
stargazer: 1.0.5 -> 1.1.0
  • Loading branch information
risicle authored Nov 26, 2023
2 parents b016575 + fe5f6ab commit 5689f24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nixos/tests/web-servers/stargazer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
Expand Down
13 changes: 9 additions & 4 deletions pkgs/servers/gemini/stargazer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];

Expand Down

0 comments on commit 5689f24

Please sign in to comment.