2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, curl, pkg-config }:
|
2018-06-14 00:22:54 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-11-04 23:38:42 +00:00
|
|
|
pname = "http-getter";
|
2020-12-09 05:00:36 +00:00
|
|
|
version = "unstable-2020-12-08";
|
2018-06-14 00:22:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tohojo";
|
|
|
|
repo = "http-getter";
|
2020-12-09 05:00:36 +00:00
|
|
|
rev = "0b20f08133206aaf225946814ceb6b85ab37e136";
|
|
|
|
sha256 = "0plyqqwfm9bysichda0w3akbdxf6279wd4mx8mda0c4mxd4xy9nl";
|
2018-06-14 00:22:54 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ curl ];
|
2018-06-14 00:22:54 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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;
|
|
|
|
};
|
|
|
|
}
|