2019-06-16 20:59:06 +01:00
|
|
|
{ lib, fetchurl, pythonPackages }:
|
2018-11-17 21:27:52 +00:00
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "speedometer";
|
2018-11-17 21:27:52 +00:00
|
|
|
version = "2.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-26 00:33:42 +00:00
|
|
|
url = "https://excess.org/speedometer/speedometer-${version}.tar.gz";
|
2018-11-17 21:27:52 +00:00
|
|
|
sha256 = "060bikv3gwr203jbdmvawsfhc0yq0bg1m42dk8czx1nqvwvgv6fm";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pythonPackages.urwid ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i "/'entry_points': {/d" setup.py
|
|
|
|
sed -i "/'console_scripts': \['speedometer = speedometer:console'\],},/d" setup.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Measure and display the rate of data across a network connection or data being stored in a file";
|
2021-01-26 00:33:42 +00:00
|
|
|
homepage = "https://excess.org/speedometer/";
|
2018-11-17 21:27:52 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ Baughn ];
|
|
|
|
};
|
|
|
|
}
|