2014-09-04 11:08:34 +01:00
|
|
|
{ stdenv, fetchFromGitHub, go }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-06-04 18:22:36 +01:00
|
|
|
name = "curl-unix-socket-2014-09-01";
|
2014-09-04 11:08:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Soulou";
|
|
|
|
repo = "curl-unix-socket";
|
|
|
|
rev = "e926dca77ba7d4a1eeae073918fdd3db92f1a350";
|
|
|
|
sha256 = "1ynrrav90y3dhk8jq2fxm3jswj5nvrffwslgykj429hk6n0czb3d";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ go ];
|
|
|
|
buildPhase = "go build";
|
|
|
|
installPhase = "install -D curl-unix-socket* $out/bin/curl-unix-socket";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Run HTTP requests over UNIX socket";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = https://github.com/Soulou/curl-unix-socket;
|
|
|
|
maintainers = with maintainers; [offline];
|
2015-11-17 20:29:29 +00:00
|
|
|
platforms = platforms.unix;
|
2014-09-04 11:08:34 +01:00
|
|
|
};
|
|
|
|
}
|