mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
mollysocket: 1.4.1 -> 1.5.1
Diff: https://github.com/mollyim/mollysocket/compare/1.4.1...1.5.1 Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.5.1
This commit is contained in:
parent
2768c7d042
commit
db2dcfb6f7
2 changed files with 4 additions and 6 deletions
|
@ -16,12 +16,10 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
import json
|
|
||||||
|
|
||||||
mollysocket.wait_for_unit("mollysocket.service")
|
mollysocket.wait_for_unit("mollysocket.service")
|
||||||
mollysocket.wait_for_open_port(${toString port})
|
mollysocket.wait_for_open_port(${toString port})
|
||||||
|
|
||||||
out = mollysocket.succeed("curl --fail http://127.0.0.1:${toString port}")
|
out = mollysocket.succeed("curl --fail http://127.0.0.1:${toString port}")
|
||||||
assert json.loads(out)["mollysocket"]["version"] == "${toString pkgs.mollysocket.version}"
|
assert "Version ${pkgs.mollysocket.version}" in out
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
|
@ -11,16 +11,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mollysocket";
|
pname = "mollysocket";
|
||||||
version = "1.4.1";
|
version = "1.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mollyim";
|
owner = "mollyim";
|
||||||
repo = "mollysocket";
|
repo = "mollysocket";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-vE5J4BKYmVqtowfxDDTOwFKws7phYRm9xKFPiDNuNn4=";
|
hash = "sha256-RRnMmdyr4FZHsdLjGvTRiSw+YC+OutWqsoEId7ZlSX0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-s/EhX5o6XuUqcrqhXY274MyWhRukgetfIZKQ4XNlq6Y=";
|
cargoHash = "sha256-BXllzuw01ANrk+osUsAlMyLRAptvxGO+rl0ygsCfewU=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue