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