1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/os-specific/linux/speedometer/default.nix
Svein Ove Aas a88fcebc6f speedometer: init at 2.8 (#33627)
* speedometer: init at 2.8
2018-11-17 22:27:52 +01:00

27 lines
825 B
Nix

{ stdenv, lib, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "speedometer-${version}";
version = "2.8";
src = fetchurl {
url = "http://excess.org/speedometer/speedometer-${version}.tar.gz";
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";
homepage = http://excess.org/speedometer/;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ Baughn ];
};
}