ht-rust 0.19.1 -> 0.19.3 https://github.com/ducaale/xh/releases attrpath: ht-rust Checking auto update branch... No auto update branch exists Old version 0.19.1" not present in master derivation file with contents: { lib , rustPlatform , fetchFromGitHub , installShellFiles , pkg-config , withNativeTls ? true , stdenv , Security , openssl }: rustPlatform.buildRustPackage rec { pname = "xh"; version = "0.19.3"; src = fetchFromGitHub { owner = "ducaale"; repo = "xh"; rev = "v${version}"; sha256 = "sha256-O/tHBaopFzAVcWdwiMddemxwuYhYVaShXkP9Mwdqs/w="; }; cargoSha256 = "sha256-8sss2UG1EVbzCDwCREQx2mb9V0eJjeKhcUUqfN+Aepk="; buildFeatures = lib.optional withNativeTls "native-tls"; nativeBuildInputs = [ installShellFiles pkg-config ]; buildInputs = lib.optionals withNativeTls (if stdenv.isDarwin then [ Security ] else [ openssl ]); # Get openssl-sys to use pkg-config OPENSSL_NO_VENDOR = 1; postInstall = '' installShellCompletion \ completions/xh.{bash,fish} \ --zsh completions/_xh installManPage doc/xh.1 ln -s $out/share/man/man1/xh.1 $out/share/man/man1/xhs.1 install -m444 -Dt $out/share/doc/xh README.md CHANGELOG.md ln -s $out/bin/xh $out/bin/xhs ''; # Nix build happens in sandbox without internet connectivity # disable tests as some of them require internet due to nature of application doCheck = false; doInstallCheck = true; postInstallCheck = '' $out/bin/xh --help > /dev/null $out/bin/xhs --help > /dev/null ''; meta = with lib; { description = "Friendly and fast tool for sending HTTP requests"; homepage = "https://github.com/ducaale/xh"; changelog = "https://github.com/ducaale/xh/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ figsoda payas ]; }; }