Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1156427ac06b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a88fcebc6f5e
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 17, 2018

  1. speedometer: init at 2.8 (#33627)

    * speedometer: init at 2.8
    Baughn authored and c0bw3b committed Nov 17, 2018
    Copy the full SHA
    a88fceb View commit details
Showing with 28 additions and 0 deletions.
  1. +26 −0 pkgs/os-specific/linux/speedometer/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
26 changes: 26 additions & 0 deletions pkgs/os-specific/linux/speedometer/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -14965,6 +14965,8 @@ with pkgs;

smem = callPackage ../os-specific/linux/smem { };

speedometer = callPackage ../os-specific/linux/speedometer { };

statifier = callPackage ../os-specific/linux/statifier { };

sysdig = callPackage ../os-specific/linux/sysdig {