Merge pull request #41614 from teto/flent_wrap
[RFC/RDY] flent: add manpage + init http-getter
This commit is contained in:
commit
9185df5f9d
|
@ -1,4 +1,6 @@
|
||||||
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, netperf, procps, pyqt5 }:
|
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, procps, pyqt5
|
||||||
|
, sphinx
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "flent";
|
pname = "flent";
|
||||||
|
@ -10,7 +12,8 @@ buildPythonApplication rec {
|
||||||
sha256 = "1llcdakk0nk9xlpjjz7mv4a80yq4sjnbqhaqvyj9m6lbcxgssh2r";
|
sha256 = "1llcdakk0nk9xlpjjz7mv4a80yq4sjnbqhaqvyj9m6lbcxgssh2r";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ netperf ];
|
buildInputs = [ sphinx ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
matplotlib
|
matplotlib
|
||||||
procps
|
procps
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cmake
|
||||||
|
, curl, pkgconfig }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "http-getter";
|
||||||
|
version = "20180606";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tohojo";
|
||||||
|
repo = "http-getter";
|
||||||
|
rev = "79bcccce721825a745f089d0c347bbaf2e6e12f4";
|
||||||
|
sha256 = "1zxk52s1h5qx62idil237zdpj8agrry0w1xwkfx05wvv9sw4ld35";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake pkgconfig curl ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/tohojo/http-getter;
|
||||||
|
description = "Simple getter for HTTP URLs using cURL";
|
||||||
|
platforms = platforms.unix;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3030,6 +3030,8 @@ with pkgs;
|
||||||
|
|
||||||
http-prompt = callPackage ../tools/networking/http-prompt { };
|
http-prompt = callPackage ../tools/networking/http-prompt { };
|
||||||
|
|
||||||
|
http-getter = callPackage ../applications/networking/flent/http-getter.nix { };
|
||||||
|
|
||||||
httpie = callPackage ../tools/networking/httpie { };
|
httpie = callPackage ../tools/networking/httpie { };
|
||||||
|
|
||||||
httping = callPackage ../tools/networking/httping {};
|
httping = callPackage ../tools/networking/httping {};
|
||||||
|
|
Loading…
Reference in New Issue