2018-06-13 16:22:54 -07:00
|
|
|
{ stdenv, fetchFromGitHub, cmake
|
|
|
|
, curl, pkgconfig }:
|
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2018-11-04 15:38:42 -08:00
|
|
|
pname = "http-getter";
|
|
|
|
version = "unstable-2018-06-06";
|
2018-06-13 16:22:54 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tohojo";
|
|
|
|
repo = "http-getter";
|
|
|
|
rev = "79bcccce721825a745f089d0c347bbaf2e6e12f4";
|
|
|
|
sha256 = "1zxk52s1h5qx62idil237zdpj8agrry0w1xwkfx05wvv9sw4ld35";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake pkgconfig curl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/tohojo/http-getter";
|
2018-06-13 16:22:54 -07:00
|
|
|
description = "Simple getter for HTTP URLs using cURL";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|