diff options
author | Svein Ove Aas <svein@google.com> | 2018-11-17 21:27:52 +0000 |
---|---|---|
committer | Renaud <c0bw3b@users.noreply.github.com> | 2018-11-17 22:27:52 +0100 |
commit | a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe (patch) | |
tree | f900cc8e614b8b44aca506b1569694d74d157c32 /pkgs/os-specific | |
parent | 1156427ac06b017c5589d2661c9a55032f705e3f (diff) | |
download | nixpkgs-a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe.tar nixpkgs-a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe.tar.gz nixpkgs-a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe.tar.bz2 nixpkgs-a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe.tar.lz nixpkgs-a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe.tar.xz nixpkgs-a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe.tar.zst nixpkgs-a88fcebc6f5e22b0db5a4fc75378dabd2560a3fe.zip |
speedometer: init at 2.8 (#33627)
* speedometer: init at 2.8
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/speedometer/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/speedometer/default.nix b/pkgs/os-specific/linux/speedometer/default.nix new file mode 100644 index 00000000000..f9c97150292 --- /dev/null +++ b/pkgs/os-specific/linux/speedometer/default.nix @@ -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 ]; + }; +} |