Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

speedometer: init at 2.8 (#33627)

* speedometer: init at 2.8

authored by

Svein Ove Aas and committed by
Renaud
a88fcebc 1156427a

+28
+26
pkgs/os-specific/linux/speedometer/default.nix
··· 1 + { stdenv, lib, fetchurl, pythonPackages }: 2 + 3 + pythonPackages.buildPythonApplication rec { 4 + name = "speedometer-${version}"; 5 + version = "2.8"; 6 + 7 + src = fetchurl { 8 + url = "http://excess.org/speedometer/speedometer-${version}.tar.gz"; 9 + sha256 = "060bikv3gwr203jbdmvawsfhc0yq0bg1m42dk8czx1nqvwvgv6fm"; 10 + }; 11 + 12 + propagatedBuildInputs = [ pythonPackages.urwid ]; 13 + 14 + postPatch = '' 15 + sed -i "/'entry_points': {/d" setup.py 16 + sed -i "/'console_scripts': \['speedometer = speedometer:console'\],},/d" setup.py 17 + ''; 18 + 19 + meta = with lib; { 20 + description = "Measure and display the rate of data across a network connection or data being stored in a file"; 21 + homepage = http://excess.org/speedometer/; 22 + license = licenses.lgpl21Plus; 23 + platforms = platforms.linux; 24 + maintainers = with maintainers; [ Baughn ]; 25 + }; 26 + }
+2
pkgs/top-level/all-packages.nix
··· 14965 14965 14966 14966 smem = callPackage ../os-specific/linux/smem { }; 14967 14967 14968 + speedometer = callPackage ../os-specific/linux/speedometer { }; 14969 + 14968 14970 statifier = callPackage ../os-specific/linux/statifier { }; 14969 14971 14970 14972 sysdig = callPackage ../os-specific/linux/sysdig {