http-getter: init at 20180606

Used by flent
This commit is contained in:
Matthieu Coudron 2018-06-14 08:22:54 +09:00
parent e96ce01e76
commit 0080fe93fc
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, cmake
, curl, pkgconfig }:
stdenv.mkDerivation rec {
name = "http-getter";
version = "20180606";
src = fetchFromGitHub {
owner = "tohojo";
repo = "http-getter";
rev = "79bcccce721825a745f089d0c347bbaf2e6e12f4";
sha256 = "1zxk52s1h5qx62idil237zdpj8agrry0w1xwkfx05wvv9sw4ld35";
};
buildInputs = [ cmake pkgconfig curl ];
meta = with stdenv.lib; {
homepage = https://github.com/tohojo/http-getter;
description = "Simple getter for HTTP URLs using cURL";
platforms = platforms.unix;
license = licenses.gpl3;
};
}

View File

@ -3020,6 +3020,8 @@ with pkgs;
http-prompt = callPackage ../tools/networking/http-prompt { };
http-getter = callPackage ../applications/networking/flent/http-getter.nix { };
httpie = callPackage ../tools/networking/httpie { };
httping = callPackage ../tools/networking/httping {};