hurl: init at 1.2.0
This commit is contained in:
parent
91ffffd904
commit
2849d97ee6
40
pkgs/tools/networking/hurl/default.nix
Normal file
40
pkgs/tools/networking/hurl/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, libxml2
|
||||
, openssl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hurl";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Orange-OpenSource";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0hbyqj794pvvfrg6jgz63mih73bnmnvgmwbv705c2238w7wsgk9w";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
openssl
|
||||
];
|
||||
|
||||
# Tests require network access to a test server
|
||||
doCheck = false;
|
||||
|
||||
cargoSha256 = "09ndgm6kmqwdz7yn2rqxk5xr1qkai87zm1k138cng4wq135c3w6g";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line tool that performs HTTP requests defined in a simple plain text format.";
|
||||
homepage = "https://hurl.dev/";
|
||||
maintainers = with maintainers; [ eonpatapon ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
|
@ -5863,6 +5863,8 @@ in
|
|||
|
||||
httpx = callPackage ../tools/security/httpx { };
|
||||
|
||||
hurl = callPackage ../tools/networking/hurl { };
|
||||
|
||||
hub = callPackage ../applications/version-management/git-and-tools/hub { };
|
||||
|
||||
hubicfuse = callPackage ../tools/filesystems/hubicfuse { };
|
||||
|
|
Loading…
Reference in a new issue