Merge pull request #96537 from mredaelli/dot-http

dot-http: init at 0.2.0
This commit is contained in:
Daniël de Kok 2020-08-29 19:33:35 +02:00 committed by GitHub
commit 7a29b43311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "dot-http";
version = "0.2.0";
src = fetchFromGitHub {
owner = "bayne";
repo = pname;
rev = "v${version}";
sha256 = "1s2q4kdldhb5gd14g2h6vzrbjgbbbs9zp2dgmna0rhk1h4qv0mml";
};
cargoSha256 = "0an3hskq1k2j4gdn8wvhfb9pqsc34ibs5bv7sjznkp5jma6fdr9w";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [
libiconv Security
];
meta = with stdenv.lib; {
description = "Text-based scriptable HTTP client";
homepage = "https://github.com/bayne/dot-http";
license = licenses.asl20;
maintainers = with maintainers; [ mredaelli ];
};
}

View File

@ -985,6 +985,10 @@ in
dpt-rp1-py = callPackage ../tools/misc/dpt-rp1-py { };
dot-http = callPackage ../development/tools/dot-http {
inherit (darwin.apple_sdk.frameworks) Security;
};
doona = callPackage ../tools/security/doona { };
ecdsautils = callPackage ../tools/security/ecdsautils { };