2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, curl, pkg-config }:
|
2018-06-14 01:22:54 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2018-11-05 00:38:42 +01:00
|
|
|
pname = "http-getter";
|
2020-12-09 06:00:36 +01:00
|
|
|
version = "unstable-2020-12-08";
|
2018-06-14 01:22:54 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tohojo";
|
|
|
|
repo = "http-getter";
|
2020-12-09 06:00:36 +01:00
|
|
|
rev = "0b20f08133206aaf225946814ceb6b85ab37e136";
|
|
|
|
sha256 = "0plyqqwfm9bysichda0w3akbdxf6279wd4mx8mda0c4mxd4xy9nl";
|
2018-06-14 01:22:54 +02:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ curl ];
|
2018-06-14 01:22:54 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/tohojo/http-getter";
|
2018-06-14 01:22:54 +02:00
|
|
|
description = "Simple getter for HTTP URLs using cURL";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|